mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
fixed the unneeded return
statement warnings. (#31863)
This commit is contained in:
parent
f7669b5238
commit
d814d05539
15 changed files with 33 additions and 33 deletions
|
@ -93,7 +93,7 @@ impl CSSStyleRuleMethods for CSSStyleRule {
|
|||
fn SelectorText(&self) -> DOMString {
|
||||
let guard = self.cssrule.shared_lock().read();
|
||||
let stylerule = self.stylerule.read_with(&guard);
|
||||
return DOMString::from_string(stylerule.selectors.to_css_string());
|
||||
DOMString::from_string(stylerule.selectors.to_css_string())
|
||||
}
|
||||
|
||||
// https://drafts.csswg.org/cssom/#dom-cssstylerule-selectortext
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue