diff options
| author | Alexander Regueiro <alexreg@me.com> | 2019-09-05 17:15:28 +0100 |
|---|---|---|
| committer | Alexander Regueiro <alexreg@me.com> | 2019-09-06 16:02:25 +0100 |
| commit | b0006dff1041f0eea718ca29607cd6ec372e4e30 (patch) | |
| tree | de6d8a0d438052c300a561078082bb1f2d62c203 /src/libstd/ffi | |
| parent | 1fb3c4ec7ca37d33bd1e68cce669d171c2752615 (diff) | |
| download | rust-b0006dff1041f0eea718ca29607cd6ec372e4e30.tar.gz rust-b0006dff1041f0eea718ca29607cd6ec372e4e30.zip | |
A few cosmetic improvements to code & comments in liballoc and libcore
Diffstat (limited to 'src/libstd/ffi')
| -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 65f4e0cafe0..3ce2b68d858 100644 --- a/src/libstd/ffi/c_str.rs +++ b/src/libstd/ffi/c_str.rs @@ -615,7 +615,7 @@ impl CString { } // Turns this `CString` into an empty string to prevent -// memory unsafe code from working by accident. Inline +// memory-unsafe code from working by accident. Inline // to prevent LLVM from optimizing it away in debug builds. #[stable(feature = "cstring_drop", since = "1.13.0")] impl Drop for CString { |
