From 4279186912d65ce8a5ce3180714c7e3926e61f44 Mon Sep 17 00:00:00 2001 From: Ms2ger Date: Fri, 9 May 2014 13:04:38 +0200 Subject: [PATCH] Remove ~"". --- android.rs | 2 +- linux.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/android.rs b/android.rs index 328d63c..a4b03c5 100644 --- a/android.rs +++ b/android.rs @@ -28,7 +28,7 @@ impl AlertMethods for Alert { fn prompt_value(&self) -> ~str { // TODO - ~"" + "".to_owned() } } diff --git a/linux.rs b/linux.rs index 7934339..54c64b0 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: ~"" } + Alert { url: "".to_owned() } } fn add_prompt(&mut self) {