Minor documentation correction

Corrects `write_bytes`'s documentation as the parameter name is `val` not `c`.
This commit is contained in:
Cole Reynolds 2015-10-31 20:31:16 -04:00
parent 1a2eaffb63
commit 87c9fd2b42

View File

@ -384,7 +384,7 @@
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);