diff options
| author | Manish Goregaokar <manishsmail@gmail.com> | 2015-02-23 14:58:09 +0530 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2015-02-23 11:43:59 -0800 |
| commit | 84874984526073c3605664e55b09efddbbe7189c (patch) | |
| tree | c576578098006b0500b9565a332b6ccbc42fedcc /src/libstd | |
| parent | 3b69d1b941d61250735923f0cf957e1e3d86c4b4 (diff) | |
| parent | 5e616dbd2189844044e039436b7ed16b44f6595a (diff) | |
| download | rust-84874984526073c3605664e55b09efddbbe7189c.tar.gz rust-84874984526073c3605664e55b09efddbbe7189c.zip | |
Rollup merge of #22320 - petrochenkov:eq, r=alexcrichton
Diffstat (limited to 'src/libstd')
| -rw-r--r-- | src/libstd/ffi/c_str.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/ffi/c_str.rs b/src/libstd/ffi/c_str.rs index 8900713974b..69bcc82f682 100644 --- a/src/libstd/ffi/c_str.rs +++ b/src/libstd/ffi/c_str.rs @@ -371,7 +371,7 @@ impl CStr { impl PartialEq for CStr { fn eq(&self, other: &CStr) -> bool { - self.to_bytes().eq(&other.to_bytes()) + self.to_bytes().eq(other.to_bytes()) } } impl Eq for CStr {} |
