From 105e6c046df6e07401ed98b08ec3c3461ecc6ee1 Mon Sep 17 00:00:00 2001 From: Ms2ger Date: Fri, 6 Jun 2014 20:47:27 +0200 Subject: [PATCH] Use to_string rather than the deprecated to_owned. --- linux.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linux.rs b/linux.rs index b167165..4a094d6 100644 --- a/linux.rs +++ b/linux.rs @@ -19,7 +19,7 @@ pub struct Alert { impl AlertMethods for Alert { fn new(_: &str) -> Alert { // TODO: Use a glfw window for prompt - Alert { url: "".to_owned() } + Alert { url: "".to_string() } } fn add_prompt(&mut self) {