diff options
Diffstat (limited to 'crates/libsyntax2/src/yellow/mod.rs')
-rw-r--r-- | crates/libsyntax2/src/yellow/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/libsyntax2/src/yellow/mod.rs b/crates/libsyntax2/src/yellow/mod.rs index 3c4510fe7..b94c794fe 100644 --- a/crates/libsyntax2/src/yellow/mod.rs +++ b/crates/libsyntax2/src/yellow/mod.rs | |||
@@ -66,7 +66,7 @@ impl SyntaxRoot { | |||
66 | } | 66 | } |
67 | } | 67 | } |
68 | 68 | ||
69 | #[derive(Clone, Copy, PartialEq, Eq, Debug)] | 69 | #[derive(Clone, Copy, PartialEq, Eq, Debug, Hash)] |
70 | pub(crate) struct RedPtr(ptr::NonNull<RedNode>); | 70 | pub(crate) struct RedPtr(ptr::NonNull<RedNode>); |
71 | 71 | ||
72 | unsafe impl Send for RedPtr {} | 72 | unsafe impl Send for RedPtr {} |