These are chat archives for rust-lang/rust

22nd
Aug 2017
Restioson
@Restioson
Aug 22 2017 18:57
Can blocks have return?
Zakarum
@omni-viral
Aug 22 2017 19:03
return in block will end the whole function
twissel
@twissel
Aug 22 2017 19:57
Hello, help, advice needed. What is the best way to transform a Box<& mut object> to Box<&object> ?
Denis Lisov
@tanriol
Aug 22 2017 20:02
The best is not to make either of these - seems to me that you never need to box a reference.