diff options
| author | Nathan Whitaker <nathan.whitaker01@gmail.com> | 2020-10-26 19:19:06 -0400 |
|---|---|---|
| committer | Nathan Whitaker <nathan.whitaker01@gmail.com> | 2020-10-26 19:19:06 -0400 |
| commit | cb8b9012dba9e467c052b3cc047e0c7babfcf724 (patch) | |
| tree | ddd824e20032852a78f28e01837ca314dd819878 /library/std/src | |
| parent | 6ba127d3f06aa785eaf3df96f0adb505de67e74c (diff) | |
| download | rust-cb8b9012dba9e467c052b3cc047e0c7babfcf724.tar.gz rust-cb8b9012dba9e467c052b3cc047e0c7babfcf724.zip | |
Address review comments
Diffstat (limited to 'library/std/src')
| -rw-r--r-- | library/std/src/ffi/c_str.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/library/std/src/ffi/c_str.rs b/library/std/src/ffi/c_str.rs index 1cfd73863a6..4a249d72bbc 100644 --- a/library/std/src/ffi/c_str.rs +++ b/library/std/src/ffi/c_str.rs @@ -109,7 +109,6 @@ use crate::sys; /// documentation of `CString` before use, as improper ownership management /// of `CString` instances can lead to invalid memory accesses, memory leaks, /// and other memory errors. - #[derive(PartialEq, PartialOrd, Eq, Ord, Hash, Clone)] #[cfg_attr(not(test), rustc_diagnostic_item = "cstring_type")] #[stable(feature = "rust1", since = "1.0.0")] |
