These are chat archives for rust-lang/rust

7th
Jul 2018
Zakarum
@omni-viral
Jul 07 2018 12:02
@earthengine Did you tried to remove second borrowing?
Just as compiler suggested you
earthengine
@earthengine
Jul 07 2018 12:03
removing it compiles.
I just want to create a &T2 on top of a &T1 trait object, but seems I can't.
earthengine
@earthengine
Jul 07 2018 12:20
Also, if you dont borrow the second, you also cannot cast from T1 to T2.
Sylwester Rąpała
@xoac
Jul 07 2018 19:14
Is anyone who know how to store values as millivolt? in si::i32? There is an example how to store centimeters
Matthias Berndt
@mberndt123
Jul 07 2018 21:30
what's the best editor to write Rust code with?
Sylwester Rąpała
@xoac
Jul 07 2018 21:33
I started use vim with Rust and like it
Matthias Berndt
@mberndt123
Jul 07 2018 21:47
right, unfortunately I'm not a fan of vi(m)
anyway, I found a blog post explaining how to set up emacs to code in Rust, so I guess I'll try that
Kelly Thomas Kline
@kellytk
Jul 07 2018 22:22
Is &format! in &format!("foo {}", bar)the most performant method of obtaining a str from an interpolation?
Kelly Thomas Kline
@kellytk
Jul 07 2018 22:38
If fs::remove_file is successful in removing a file, what should be returned? I'm new to Rust and it's unclear to me from the documentation what it would be
FractalMatt
@FractalMatt
Jul 07 2018 22:40
IntelliJ sounds like a really
nice editor
FractalMatt
@FractalMatt
Jul 07 2018 22:48
Built in debugging and