diff options
| author | bors <bors@rust-lang.org> | 2018-12-14 06:52:19 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2018-12-14 06:52:19 +0000 |
| commit | 664ede88faf57b8fc09715fc66cd9e46490ce64d (patch) | |
| tree | a3e57a948123750226a0fed966826221420039c2 /src/libsyntax_pos | |
| parent | 97a0bd60820374165427962e9802f4f3c3f7ff7b (diff) | |
| parent | cf47a19305d929d1870414dd6911ca3191597668 (diff) | |
| download | rust-664ede88faf57b8fc09715fc66cd9e46490ce64d.tar.gz rust-664ede88faf57b8fc09715fc66cd9e46490ce64d.zip | |
Auto merge of #56536 - alexcrichton:update-master, r=Mark-Simulacrum
Bump to 1.33.0 * Update bootstrap compiler * Update version to 1.33.0 * Remove some `#[cfg(stage0)]` annotations
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 05c53878e70..f1adb9d64da 100644 --- a/src/libsyntax_pos/symbol.rs +++ b/src/libsyntax_pos/symbol.rs @@ -57,7 +57,7 @@ impl Ident { } pub fn without_first_quote(self) -> Ident { - Ident::new(Symbol::intern(self.as_str().trim_left_matches('\'')), self.span) + Ident::new(Symbol::intern(self.as_str().trim_start_matches('\'')), self.span) } /// "Normalize" ident for use in comparisons using "item hygiene". |
