diff options
| author | Matthew Jasper <mjjasper1@gmail.com> | 2019-09-14 21:16:51 +0100 |
|---|---|---|
| committer | Matthew Jasper <mjjasper1@gmail.com> | 2019-09-15 09:15:38 +0100 |
| commit | 5ae3830d589ec75494ff26bd9c92e9f77e49173f (patch) | |
| tree | f19445d87a85d724de3ca80d825e68c5c13456fb /src/libsyntax_pos | |
| parent | 57a45e9cbd951efd8224c3535431890b7bef9e6a (diff) | |
| download | rust-5ae3830d589ec75494ff26bd9c92e9f77e49173f.tar.gz rust-5ae3830d589ec75494ff26bd9c92e9f77e49173f.zip | |
Give more `Idents` spans
Diffstat (limited to 'src/libsyntax_pos')
| -rw-r--r-- | src/libsyntax_pos/symbol.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax_pos/symbol.rs b/src/libsyntax_pos/symbol.rs index ab32d4461ef..597ae83572c 100644 --- a/src/libsyntax_pos/symbol.rs +++ b/src/libsyntax_pos/symbol.rs @@ -765,7 +765,7 @@ impl Ident { Ident::with_dummy_span(string.as_symbol()) } - /// Maps a string to an identifier with an empty span. + /// Maps a string to an identifier with a dummy span. pub fn from_str(string: &str) -> Ident { Ident::with_dummy_span(Symbol::intern(string)) } |
