diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2018-12-05 06:42:56 -0800 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2018-12-12 08:09:26 -0800 |
| commit | cf47a19305d929d1870414dd6911ca3191597668 (patch) | |
| tree | be90f3c8c33f5276f5159794db0e038b7592cdf0 /src/libstd/sys/windows | |
| parent | bd47d6825bf4090517549d33cfef10d3300b4a75 (diff) | |
| download | rust-cf47a19305d929d1870414dd6911ca3191597668.tar.gz rust-cf47a19305d929d1870414dd6911ca3191597668.zip | |
Bump to 1.33.0
* Update bootstrap compiler * Update version to 1.33.0 * Remove some `#[cfg(stage0)]` annotations Actually updating the version number is blocked on updating Cargo
Diffstat (limited to 'src/libstd/sys/windows')
| -rw-r--r-- | src/libstd/sys/windows/os.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/sys/windows/os.rs b/src/libstd/sys/windows/os.rs index 2be30e68d24..84ef62e5fe9 100644 --- a/src/libstd/sys/windows/os.rs +++ b/src/libstd/sys/windows/os.rs @@ -76,7 +76,7 @@ pub fn error_string(mut errnum: i32) -> String { match String::from_utf16(&buf[..res]) { Ok(mut msg) => { // Trim trailing CRLF inserted by FormatMessageW - let len = msg.trim_right().len(); + let len = msg.trim_end().len(); msg.truncate(len); msg }, |
