Skip to content

Commit b0bf973

Browse files
bors[bot]Veykril
andauthored
43: Clarify what `WS` is r=Veykril a=Veykril Closes rust-analyzer/smol_str#17 bors r+ Co-authored-by: Lukas Wirth <[email protected]>
2 parents c2c13df + 978213d commit b0bf973

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)