diff options
| author | Nicholas Nethercote <nnethercote@mozilla.com> | 2019-09-04 09:13:56 +1000 |
|---|---|---|
| committer | Nicholas Nethercote <nnethercote@mozilla.com> | 2019-09-04 14:23:45 +1000 |
| commit | 69ae8d9dfd9927d3db9d1d2676ca429c76007405 (patch) | |
| tree | 11099865953367090ca04a488020bdb05b4d3deb /src/libsyntax_pos | |
| parent | bf536dde3b603a0eb4ab9d351010c29799e28676 (diff) | |
| download | rust-69ae8d9dfd9927d3db9d1d2676ca429c76007405.tar.gz rust-69ae8d9dfd9927d3db9d1d2676ca429c76007405.zip | |
Remove `LocalInternedString::as_interned_str()`.
It's unused.
Diffstat (limited to 'src/libsyntax_pos')
| -rw-r--r-- | src/libsyntax_pos/symbol.rs | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/libsyntax_pos/symbol.rs b/src/libsyntax_pos/symbol.rs index f44716e013e..42db2d21991 100644 --- a/src/libsyntax_pos/symbol.rs +++ b/src/libsyntax_pos/symbol.rs @@ -1169,12 +1169,6 @@ impl LocalInternedString { } } - pub fn as_interned_str(self) -> InternedString { - InternedString { - symbol: Symbol::intern(self.string) - } - } - #[inline] pub fn get(&self) -> &str { // This returns a valid string since we ensure that `self` outlives the interner |
