mirror of https://github.com/rust-lang/rust.git
parent
ae79201533
commit
c47df30a0b
|
@ -81,6 +81,7 @@ pub struct Symbol(u32);
|
|||
|
||||
// The interner in thread-local, so `Symbol` shouldn't move between threads.
|
||||
impl !Send for Symbol { }
|
||||
impl !Sync for Symbol { }
|
||||
|
||||
impl Symbol {
|
||||
/// Maps a string to its interned representation.
|
||||
|
|
Loading…
Reference in New Issue