about summary refs log tree commit diff
path: root/src/libsyntax/parse/parser.rs
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2019-05-16 10:43:24 +0200
committerGitHub <noreply@github.com>2019-05-16 10:43:24 +0200
commitf08c5bbc850a073cdb60a6bcf29a5052b830b317 (patch)
tree57099769db283af19aa821e5f455a5d2d18fc0bf /src/libsyntax/parse/parser.rs
parent024c25dc7941795b84d76b6371527f31c361a329 (diff)
parent08b0aca05e3709766fd7e0e01ec56a8511e4c46b (diff)
downloadrust-f08c5bbc850a073cdb60a6bcf29a5052b830b317.tar.gz
rust-f08c5bbc850a073cdb60a6bcf29a5052b830b317.zip
Rollup merge of #59825 - jsgf:from-ref-string, r=sfackler
string: implement From<&String> for String

Allow Strings to be created from borrowed Strings. This is mostly
to make things like passing `&String` to an `impl Into<String>`
parameter frictionless.

Fixes #59827.
Diffstat (limited to 'src/libsyntax/parse/parser.rs')
0 files changed, 0 insertions, 0 deletions