mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Remove redundant into_string() calls.
This commit is contained in:
parent
178843456f
commit
3a9e51ea17
2 changed files with 2 additions and 2 deletions
|
@ -36,7 +36,7 @@ pub fn parse_namespace_rule(rule: AtRule, namespaces: &mut NamespaceMap) {
|
|||
match component_value {
|
||||
Ident(value) => {
|
||||
if prefix.is_some() { syntax_error!() }
|
||||
prefix = Some(value.into_string());
|
||||
prefix = Some(value);
|
||||
},
|
||||
URL(value) | String(value) => {
|
||||
if ns.is_some() { syntax_error!() }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue