aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/textdecoder.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/dom/textdecoder.rs')
-rw-r--r--components/script/dom/textdecoder.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/components/script/dom/textdecoder.rs b/components/script/dom/textdecoder.rs
index 5a5eaeeb7a1..d0b4781c9dc 100644
--- a/components/script/dom/textdecoder.rs
+++ b/components/script/dom/textdecoder.rs
@@ -40,9 +40,9 @@ impl TextDecoder {
fn new_inherited(encoding: &'static Encoding, fatal: bool, ignoreBOM: bool) -> TextDecoder {
TextDecoder {
reflector_: Reflector::new(),
- encoding: encoding,
- fatal: fatal,
- ignoreBOM: ignoreBOM,
+ encoding,
+ fatal,
+ ignoreBOM,
decoder: RefCell::new(if ignoreBOM {
encoding.new_decoder()
} else {