Skip to content

Commit a7d223d

Browse files
authored
Merge pull request rust-lang#5 from waywardmonkeys/fix-typos
Fix typos.
2 parents 70df0fc + 21e78e8 commit a7d223d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,5 @@ A `SmolStr` is a string type that has the following properties:
1818
Unlike `String`, however, `SmolStr` is immutable. The primary use case for
1919
`SmolStr` is a good enough default storage for tokens of typical programming
2020
languages. Strings consisting of a series of newlines, followed by a series of
21-
whitespace are a typical pattern in computer programms because of indentation.
21+
whitespace are a typical pattern in computer programs because of indentation.
2222
Note that a specialized interner might be a better solution for some use cases.

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ use std::{fmt, hash, ops::Deref, sync::Arc};
1313
/// Unlike `String`, however, `SmolStr` is immutable. The primary use case for
1414
/// `SmolStr` is a good enough default storage for tokens of typical programming
1515
/// languages. Strings consisting of a series of newlines, followed by a series of
16-
/// whitespace are a typical pattern in computer programms because of indentation.
16+
/// whitespace are a typical pattern in computer programs because of indentation.
1717
/// Note that a specialized interner might be a better solution for some use cases.
1818
#[derive(Clone)]
1919
pub struct SmolStr(Repr);

0 commit comments

Comments
 (0)