Skip to content

Commit 978213d

Browse files
committed
Clarify what WS is
1 parent ba96a7a commit 978213d

File tree

1 file changed

+2
-0
lines changed
  • src/tools/rust-analyzer/lib/smol_str/src

1 file changed

+2
-0
lines changed

src/tools/rust-analyzer/lib/smol_str/src/lib.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ use core::{
2929
/// languages. Strings consisting of a series of newlines, followed by a series of
3030
/// whitespace are a typical pattern in computer programs because of indentation.
3131
/// Note that a specialized interner might be a better solution for some use cases.
32+
///
33+
/// `WS`: A string of 32 newlines followed by 128 spaces.
3234
#[derive(Clone)]
3335
pub struct SmolStr(Repr);
3436

0 commit comments

Comments
 (0)