summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Unterwaditzer <markus@unterwaditzer.net>2014-12-29 22:49:27 +0100
committerMarkus Unterwaditzer <markus@unterwaditzer.net>2014-12-29 22:49:27 +0100
commit5e6da72ab7d90a8cdc9db411e7156b9634b60e35 (patch)
tree04b08c6d85c0d89c58bd1ab384532ac23ae31c80
parentef8dd36c1b208fee5ef73b26c3470dcb655bd17e (diff)
Fix deprecation.
-rw-r--r--tests/lib.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/lib.rs b/tests/lib.rs
index 3bbfbd5..89ed4e8 100644
--- a/tests/lib.rs
+++ b/tests/lib.rs
@@ -1,9 +1,10 @@
#![feature(globs,macro_rules)]
extern crate vobject;
use vobject::parse_component;
+use std::borrow::ToOwned;
macro_rules! s(
- ($i:expr) => (&$i.into_string());
+ ($i:expr) => (&$i.to_owned());
);