Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

style: sync changes from mozilla-central #23503

Merged
merged 17 commits into from Jun 4, 2019
Merged
Changes from 1 commit
Commits
File filter...
Filter file types
Jump to…
Jump to file
Failed to load files.

Always

Just for now

Prev

style: Fix RuleNode::has_children_for_testing().

  • Loading branch information
emilio committed Jun 4, 2019
commit c155639bc5d8357d8c6e27535bc64f72bb8d2562
@@ -1019,7 +1019,7 @@ impl StrongRuleNode {
/// Returns whether this node has any child, only intended for testing
/// purposes, and called on a single-threaded fashion only.
pub unsafe fn has_children_for_testing(&self) -> bool {
self.get().children.read().is_empty()
!self.get().children.read().is_empty()
}

unsafe fn pop_from_free_list(&self) -> Option<WeakRuleNode> {
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.