mirror of
https://github.com/servo/servo
synced 2026-04-26 01:25:32 +02:00
Script: Remove last instances of Deref<str> and DerefMut<str> used for DOMString (#39504)
This removes the last instances of Deref<str> and DerefMut<str> used for DOMString. The goal is outlined in https://github.com/servo/servo/issues/39479. Signed-off-by: Narfinger <Narfinger@users.noreply.github.com> Testing: Compilation is the test as it just changes function names essentially. --------- Signed-off-by: Narfinger <Narfinger@users.noreply.github.com>
This commit is contained in:
@@ -255,7 +255,7 @@ pub(crate) fn handle_get_stylesheet_style(
|
||||
.filter_map(move |i| {
|
||||
let rule = list.Item(i, can_gc)?;
|
||||
let style = rule.downcast::<CSSStyleRule>()?;
|
||||
if *selector != *style.SelectorText() {
|
||||
if *selector != style.SelectorText() {
|
||||
return None;
|
||||
};
|
||||
Some(style.Style(can_gc))
|
||||
|
||||
Reference in New Issue
Block a user