Move to to_owned rather than into_string.

into_string has been removed from Rust.
This commit is contained in:
Ms2ger 2015-01-20 14:45:36 +01:00
parent 2d5b0e0855
commit 01ed338746
67 changed files with 473 additions and 383 deletions

View file

@ -7,6 +7,7 @@ use platform::font_context::FontContextHandle;
use platform::font::FontHandle;
use platform::font_template::FontTemplateData;
use std::borrow::ToOwned;
use std::sync::{Arc, Weak};
use font::FontHandleMethods;
@ -68,7 +69,7 @@ impl FontTemplate {
};
FontTemplate {
identifier: identifier.into_string(),
identifier: identifier.to_owned(),
descriptor: None,
weak_ref: maybe_weak_ref,
strong_ref: maybe_strong_ref,