mirror of
https://github.com/servo/servo.git
synced 2025-07-29 02:00:23 +01:00
layout: to_string() -> into_string()
This commit is contained in:
parent
e9d1740e19
commit
c7dfb1d24b
5 changed files with 9 additions and 9 deletions
|
@ -241,7 +241,7 @@ impl StyleSharingCandidate {
|
|||
parent_style: parent_style,
|
||||
local_name: element.get_local_name().clone(),
|
||||
class: element.get_attr(&ns!(""), &atom!("class"))
|
||||
.map(|string| string.to_string()),
|
||||
.map(|string| string.into_string()),
|
||||
link: element.get_link().is_some(),
|
||||
namespace: (*element.get_namespace()).clone(),
|
||||
common_style_affecting_attributes:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue