Skip to content

Commit 15e5a5f

Browse files
committed
---
yaml --- r: 274329 b: refs/heads/stable c: 9cfa191 h: refs/heads/master i: 274327: ddfc178
1 parent a37d20d commit 15e5a5f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ refs/heads/tmp: e06d2ad9fcd5027bcaac5b08fc9aa39a49d0ecd3
2929
refs/tags/1.0.0-alpha.2: 4c705f6bc559886632d3871b04f58aab093bfa2f
3030
refs/tags/homu-tmp: c0221c8897db309a79990367476177b1230bb264
3131
refs/tags/1.0.0-beta: 8cbb92b53468ee2b0c2d3eeb8567005953d40828
32-
refs/heads/stable: 71b526bf944c04ed0ac7d96b898332b4697a53a6
32+
refs/heads/stable: 9cfa1916fa06fa5fa809d6d7807a6f978e35c67d
3333
refs/tags/1.0.0: 55bd4f8ff2b323f317ae89e254ce87162d52a375
3434
refs/tags/1.1.0: bc3c16f09287e5545c1d3f76b7abd54f2eca868b
3535
refs/tags/1.2.0: f557861f822c34f07270347b94b5280de20a597e

branches/stable/src/libstd/ffi/c_str.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -219,10 +219,10 @@ impl CString {
219219
CString { inner: v.into_boxed_slice() }
220220
}
221221

222-
/// Retakes ownership of a CString that was transferred to C.
222+
/// Retakes ownership of a `CString` that was transferred to C.
223223
///
224224
/// This should only ever be called with a pointer that was earlier
225-
/// obtained by calling `into_raw` on a CString. Additionally, the length
225+
/// obtained by calling `into_raw` on a `CString`. Additionally, the length
226226
/// of the string will be recalculated from the pointer.
227227
#[stable(feature = "cstr_memory", since = "1.4.0")]
228228
pub unsafe fn from_raw(ptr: *mut c_char) -> CString {

0 commit comments

Comments
 (0)