]> git.lizzy.rs Git - rust.git/commitdiff
Auto merge of #25742 - thombles:tk/StringCoercion, r=steveklabnik
authorbors <bors@rust-lang.org>
Mon, 25 May 2015 18:18:11 +0000 (18:18 +0000)
committerbors <bors@rust-lang.org>
Mon, 25 May 2015 18:18:11 +0000 (18:18 +0000)
A few of us [over on the forum](https://users.rust-lang.org/t/string-type-coercion-in-rust/1439) have been tripped up by this distinction, which I don't think is mentioned. It's kind of logical if you read the "Deref coercions" page and squint a bit but I think it would be nice to explain it directly. Here's one way we could clarify it.


Trivial merge