aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/servoparser/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/dom/servoparser/mod.rs')
-rw-r--r--components/script/dom/servoparser/mod.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/script/dom/servoparser/mod.rs b/components/script/dom/servoparser/mod.rs
index 8ce5589b7dc..acfb64aa069 100644
--- a/components/script/dom/servoparser/mod.rs
+++ b/components/script/dom/servoparser/mod.rs
@@ -483,7 +483,7 @@ impl ServoParser {
prefetch_input.push_back(chunk.clone());
self.prefetch_tokenizer
.borrow_mut()
- .feed(&mut *prefetch_input);
+ .feed(&mut prefetch_input);
}
// Push the chunk into the network input stream,
// which is tokenized lazily.
@@ -1130,7 +1130,7 @@ impl TreeSink for Sink {
let element = create_element_for_token(
name,
attrs,
- &*self.document,
+ &self.document,
ElementCreator::ParserCreated(self.current_line),
self.parsing_algorithm,
);