summaryrefslogtreecommitdiffstats
path: root/dom/base/fragmentdirectives/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'dom/base/fragmentdirectives/lib.rs')
-rw-r--r--dom/base/fragmentdirectives/lib.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/dom/base/fragmentdirectives/lib.rs b/dom/base/fragmentdirectives/lib.rs
index 0003849eb7..5f9d5ebdd8 100644
--- a/dom/base/fragmentdirectives/lib.rs
+++ b/dom/base/fragmentdirectives/lib.rs
@@ -96,9 +96,7 @@ pub extern "C" fn parse_fragment_directive(
&url_as_rust_string,
)
{
- result
- .url_without_fragment_directive
- .assign(&stripped_url);
+ result.url_without_fragment_directive.assign(&stripped_url);
result.fragment_directive.assign(&fragment_directive);
result.text_directives.extend(
text_directives