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) {