Skip to content

Commit d7d2c96

Browse files
committed
Improve wording slightly
1 parent 120d424 commit d7d2c96

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/shared.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ impl<S: Deref<Target = str>> ModifierSet<S> {
1717
/// Constructs a modifier set from a string, where modifiers are separated by
1818
/// the character `.`.
1919
///
20-
/// It is not unsafe to use this function wrongly, but it can produce
20+
/// It is not unsafe to use this function incorrectly, but it can produce
2121
/// unexpected results down the line. Correct usage should ensure that `s`
2222
/// does not contain any empty modifiers (i.e. the sequence `..`) and that
2323
/// no modifier occurs twice.
@@ -42,7 +42,7 @@ impl<S: Deref<Target = str>> ModifierSet<S> {
4242

4343
/// Add a modifier to the set, without checking that it is a valid modifier.
4444
///
45-
/// It is not unsafe to use this method wrongly, but that can produce
45+
/// It is not unsafe to use this method incorrectly, but that can produce
4646
/// unexpected results down the line. Correct usage should ensure that
4747
/// `modifier` is not empty and doesn't contain the character `.`.
4848
pub fn add_unchecked(&mut self, m: &str)

0 commit comments

Comments
 (0)