We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d7d2c96 commit 6ef866aCopy full SHA for 6ef866a
src/shared.rs
@@ -40,12 +40,12 @@ impl<S: Deref<Target = str>> ModifierSet<S> {
40
ModifierSet(&self.0)
41
}
42
43
- /// Add a modifier to the set, without checking that it is a valid modifier.
+ /// Inserts a modifier into the set, without checking that it is a valid modifier.
44
///
45
/// It is not unsafe to use this method incorrectly, but that can produce
46
/// unexpected results down the line. Correct usage should ensure that
47
/// `modifier` is not empty and doesn't contain the character `.`.
48
- pub fn add_unchecked(&mut self, m: &str)
+ pub fn insert_unchecked(&mut self, m: &str)
49
where
50
S: for<'a> std::ops::AddAssign<&'a str>,
51
{
0 commit comments