Replace all ~"" with "".to_owned()
This commit is contained in:
committed by
Brian Anderson
parent
b75683cadf
commit
919889a1d6
@@ -1188,7 +1188,7 @@ pub trait Buffer: Reader {
|
||||
/// use std::io;
|
||||
///
|
||||
/// let mut reader = io::stdin();
|
||||
/// let input = reader.read_line().ok().unwrap_or(~"nothing");
|
||||
/// let input = reader.read_line().ok().unwrap_or("nothing".to_owned());
|
||||
/// ```
|
||||
///
|
||||
/// # Error
|
||||
|
||||
Reference in New Issue
Block a user