Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit e805055

Browse files
committed
Add missing docs
1 parent 1bafedb commit e805055

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/tools/rust-analyzer/crates/intern/src/symbol.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ unsafe impl Sync for TaggedArcPtr {}
3939
impl TaggedArcPtr {
4040
const BOOL_BITS: usize = true as usize;
4141

42-
const fn non_arc(r: &&str) -> Self {
42+
const fn non_arc(r: &'static &'static str) -> Self {
4343
Self {
4444
// SAFETY: The pointer is non-null as it is derived from a reference
4545
// Ideally we would call out to `pack_arc` but for a `false` tag, unfortunately the

src/tools/rust-analyzer/crates/intern/src/symbol/symbols.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
//! Module defining all known symbols required by the rest of rust-analyzer.
12
#![allow(non_upper_case_globals)]
23

34
use std::hash::{BuildHasherDefault, Hash as _, Hasher as _};

0 commit comments

Comments
 (0)