File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ impl<S: Deref<Target = str>> ModifierSet<S> {
17
17
/// Constructs a modifier set from a string, where modifiers are separated by
18
18
/// the character `.`.
19
19
///
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
21
21
/// unexpected results down the line. Correct usage should ensure that `s`
22
22
/// does not contain any empty modifiers (i.e. the sequence `..`) and that
23
23
/// no modifier occurs twice.
@@ -42,7 +42,7 @@ impl<S: Deref<Target = str>> ModifierSet<S> {
42
42
43
43
/// Add a modifier to the set, without checking that it is a valid modifier.
44
44
///
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
46
46
/// unexpected results down the line. Correct usage should ensure that
47
47
/// `modifier` is not empty and doesn't contain the character `.`.
48
48
pub fn add_unchecked ( & mut self , m : & str )
You can’t perform that action at this time.
0 commit comments