layout: to_string() -> into_string()

This commit is contained in:
Manish Goregaokar 2014-12-14 04:19:29 +05:30 committed by Ms2ger
parent e9d1740e19
commit c7dfb1d24b
5 changed files with 9 additions and 9 deletions

View file

@ -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: