These are chat archives for rust-lang/rust

22nd
Feb 2018
Erich Cordoba
@ericho
Feb 22 2018 00:17
Thanks @ericmoritz_twitter
Zakarum
@omni-viral
Feb 22 2018 15:20
& in patterns works similar to * in expressions
let &x = &y; means almost the same as let x = *&y.
Ingvar Stepanyan
@RReverser
Feb 22 2018 19:59
actually let &x = &y means almost same as let x = y
I guess you wanted to say let &x = y ~= let x = *y