diff options
| author | ljedrz <ljedrz@gmail.com> | 2018-07-28 14:40:32 +0200 |
|---|---|---|
| committer | ljedrz <ljedrz@gmail.com> | 2018-07-28 17:58:52 +0200 |
| commit | 421b2ba347a3a1afa41b91f4254f238c790fd73b (patch) | |
| tree | 15947cbc18c8e87b2dd46204e387b629b553845b /src/libstd/sys | |
| parent | 4f1e2357447ef7e8066c49560d66c3e18f25d982 (diff) | |
| download | rust-421b2ba347a3a1afa41b91f4254f238c790fd73b.tar.gz rust-421b2ba347a3a1afa41b91f4254f238c790fd73b.zip | |
Don't format!() string literals
Diffstat (limited to 'src/libstd/sys')
| -rw-r--r-- | src/libstd/sys/wasm/os.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/sys/wasm/os.rs b/src/libstd/sys/wasm/os.rs index 23ca1754719..0cb991e19b0 100644 --- a/src/libstd/sys/wasm/os.rs +++ b/src/libstd/sys/wasm/os.rs @@ -21,7 +21,7 @@ pub fn errno() -> i32 { } pub fn error_string(_errno: i32) -> String { - format!("operation successful") + "operation successful".to_string() } pub fn getcwd() -> io::Result<PathBuf> { |
