diff options
| author | bors <bors@rust-lang.org> | 2015-11-01 04:23:18 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2015-11-01 04:23:18 +0000 |
| commit | b252f4c826242cf552831155abb6350cefcb2347 (patch) | |
| tree | 9dc10f71d9436e8f7fa9fb8126e1019cd5853853 | |
| parent | 1a2eaffb63aefba666f55abd992c5e2900654f06 (diff) | |
| parent | 87c9fd2b425d0d477901872b601af58ac8128017 (diff) | |
| download | rust-b252f4c826242cf552831155abb6350cefcb2347.tar.gz rust-b252f4c826242cf552831155abb6350cefcb2347.zip | |
Auto merge of #29496 - cpjreynolds:patch-1, r=apasel422
Corrects `write_bytes`'s documentation as the parameter name is `val` not `c`.
| -rw-r--r-- | src/libcore/intrinsics.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/intrinsics.rs b/src/libcore/intrinsics.rs index 429f4fbed28..36c523cabc9 100644 --- a/src/libcore/intrinsics.rs +++ b/src/libcore/intrinsics.rs @@ -384,7 +384,7 @@ extern "rust-intrinsic" { pub fn copy<T>(src: *const T, dst: *mut T, count: usize); /// Invokes memset on the specified pointer, setting `count * size_of::<T>()` - /// bytes of memory starting at `dst` to `c`. + /// bytes of memory starting at `dst` to `val`. #[stable(feature = "rust1", since = "1.0.0")] pub fn write_bytes<T>(dst: *mut T, val: u8, count: usize); |
