mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Auto merge of #7499 - nerith:style, r=metajack
Improve style nit check for space after a comma Fixes #7345. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7499) <!-- Reviewable:end -->
This commit is contained in:
commit
3424e234c8
14 changed files with 21 additions and 21 deletions
|
@ -167,7 +167,7 @@ impl ApplicableDeclarationsCache {
|
|||
|
||||
/// An LRU cache of the last few nodes seen, so that we can aggressively try to reuse their styles.
|
||||
pub struct StyleSharingCandidateCache {
|
||||
cache: LRUCache<StyleSharingCandidate,()>,
|
||||
cache: LRUCache<StyleSharingCandidate, ()>,
|
||||
}
|
||||
|
||||
fn create_common_style_affecting_attributes_from_element(element: &LayoutElement)
|
||||
|
@ -348,7 +348,7 @@ impl StyleSharingCandidateCache {
|
|||
}
|
||||
}
|
||||
|
||||
pub fn iter<'a>(&'a self) -> Iter<'a,(StyleSharingCandidate,())> {
|
||||
pub fn iter<'a>(&'a self) -> Iter<'a, (StyleSharingCandidate, ())> {
|
||||
self.cache.iter()
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue