Skip to content

Commit 9debc0e

Browse files
committed
Review, thanks @gankro.
1 parent b864f65 commit 9debc0e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/libcore/raw.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ use mem;
3535
///
3636
/// - Creating a slice from a data pointer and length can be done with
3737
/// `std::slice::from_raw_parts` or `std::slice::from_raw_parts_mut`
38-
/// than with `std::mem::transmute` on a value of type `Slice`.
38+
/// instead of `std::mem::transmute`ing a value of type `Slice`.
3939
/// - Extracting the data pointer and length from a slice can be
4040
/// performed with the `as_ptr` (or `as_mut_ptr`) and `len`
4141
/// methods.
@@ -104,7 +104,7 @@ pub struct Closure {
104104
///
105105
/// # Examples
106106
///
107-
/// ```rust
107+
/// ```
108108
/// use std::mem;
109109
/// use std::raw;
110110
///

0 commit comments

Comments
 (0)