about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorNicholas Nethercote <nnethercote@mozilla.com>2019-10-22 06:22:59 +1100
committerNicholas Nethercote <nnethercote@mozilla.com>2019-11-02 09:00:28 +1100
commit2f7d7c2ca44a1487157394e1562e793dbb3db81f (patch)
treebfa8f9354d97499e94006a04b2c704b81942ef6a /src
parent1b154a31cd09c2e251590b82de26927bdc34009a (diff)
downloadrust-2f7d7c2ca44a1487157394e1562e793dbb3db81f.tar.gz
rust-2f7d7c2ca44a1487157394e1562e793dbb3db81f.zip
Remove an erroneous comment.
Diffstat (limited to 'src')
-rw-r--r--src/libsyntax_pos/symbol.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/libsyntax_pos/symbol.rs b/src/libsyntax_pos/symbol.rs
index 8e1eb7366d9..0d11a4c426a 100644
--- a/src/libsyntax_pos/symbol.rs
+++ b/src/libsyntax_pos/symbol.rs
@@ -1079,7 +1079,6 @@ impl Ident {
     }
 }
 
-// If an interner exists, return it. Otherwise, prepare a fresh one.
 #[inline]
 fn with_interner<T, F: FnOnce(&mut Interner) -> T>(f: F) -> T {
     GLOBALS.with(|globals| f(&mut *globals.symbol_interner.lock()))