diff options
Diffstat (limited to 'components/style/gecko/snapshot_helpers.rs')
-rw-r--r-- | components/style/gecko/snapshot_helpers.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/components/style/gecko/snapshot_helpers.rs b/components/style/gecko/snapshot_helpers.rs index aaa2254dbd7..b8b31bc87dd 100644 --- a/components/style/gecko/snapshot_helpers.rs +++ b/components/style/gecko/snapshot_helpers.rs @@ -107,9 +107,9 @@ pub fn has_class_or_part( } /// Given an item, a callback, and a getter, execute `callback` for each class -/// this `item` has. +/// or part name this `item` has. #[inline(always)] -pub fn each_class<F>(attr: &structs::nsAttrValue, mut callback: F) +pub fn each_class_or_part<F>(attr: &structs::nsAttrValue, mut callback: F) where F: FnMut(&Atom), { |