We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b864f65 commit 9debc0eCopy full SHA for 9debc0e
src/libcore/raw.rs
@@ -35,7 +35,7 @@ use mem;
35
///
36
/// - Creating a slice from a data pointer and length can be done with
37
/// `std::slice::from_raw_parts` or `std::slice::from_raw_parts_mut`
38
-/// than with `std::mem::transmute` on a value of type `Slice`.
+/// instead of `std::mem::transmute`ing a value of type `Slice`.
39
/// - Extracting the data pointer and length from a slice can be
40
/// performed with the `as_ptr` (or `as_mut_ptr`) and `len`
41
/// methods.
@@ -104,7 +104,7 @@ pub struct Closure {
104
105
/// # Examples
106
107
-/// ```rust
+/// ```
108
/// use std::mem;
109
/// use std::raw;
110
0 commit comments