Auto merge of #29496 - cpjreynolds:patch-1, r=apasel422
Corrects `write_bytes`'s documentation as the parameter name is `val` not `c`.
This commit is contained in:
commit
b252f4c826
@ -384,7 +384,7 @@
|
|||||||
pub fn copy<T>(src: *const T, dst: *mut T, count: usize);
|
pub fn copy<T>(src: *const T, dst: *mut T, count: usize);
|
||||||
|
|
||||||
/// Invokes memset on the specified pointer, setting `count * size_of::<T>()`
|
/// 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")]
|
#[stable(feature = "rust1", since = "1.0.0")]
|
||||||
pub fn write_bytes<T>(dst: *mut T, val: u8, count: usize);
|
pub fn write_bytes<T>(dst: *mut T, val: u8, count: usize);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user