We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 1a2eaff + 87c9fd2 commit b252f4cCopy full SHA for b252f4c
src/libcore/intrinsics.rs
@@ -384,7 +384,7 @@ extern "rust-intrinsic" {
384
pub fn copy<T>(src: *const T, dst: *mut T, count: usize);
385
386
/// Invokes memset on the specified pointer, setting `count * size_of::<T>()`
387
- /// bytes of memory starting at `dst` to `c`.
+ /// bytes of memory starting at `dst` to `val`.
388
#[stable(feature = "rust1", since = "1.0.0")]
389
pub fn write_bytes<T>(dst: *mut T, val: u8, count: usize);
390
0 commit comments