Unnamed repository; edit this file 'description' to name the repository.
-rw-r--r--crates/intern/src/symbol.rs2
-rw-r--r--crates/intern/src/symbol/symbols.rs1
2 files changed, 2 insertions, 1 deletions
diff --git a/crates/intern/src/symbol.rs b/crates/intern/src/symbol.rs
index a1cffd0662..290657a3d3 100644
--- a/crates/intern/src/symbol.rs
+++ b/crates/intern/src/symbol.rs
@@ -39,7 +39,7 @@ unsafe impl Sync for TaggedArcPtr {}
impl TaggedArcPtr {
const BOOL_BITS: usize = true as usize;
- const fn non_arc(r: &&str) -> Self {
+ const fn non_arc(r: &'static &'static str) -> Self {
Self {
// SAFETY: The pointer is non-null as it is derived from a reference
// Ideally we would call out to `pack_arc` but for a `false` tag, unfortunately the
diff --git a/crates/intern/src/symbol/symbols.rs b/crates/intern/src/symbol/symbols.rs
index d2ca4401b6..a1cf6e0941 100644
--- a/crates/intern/src/symbol/symbols.rs
+++ b/crates/intern/src/symbol/symbols.rs
@@ -1,3 +1,4 @@
+//! Module defining all known symbols required by the rest of rust-analyzer.
#![allow(non_upper_case_globals)]
use std::hash::{BuildHasherDefault, Hash as _, Hasher as _};