Fix comment ordering
This commit is contained in:
parent
6dcc78997f
commit
a74911662e
|
@ -728,13 +728,13 @@ impl Mutability {
|
||||||
#[derive(Clone, Copy, PartialEq, Eq, Debug)]
|
#[derive(Clone, Copy, PartialEq, Eq, Debug)]
|
||||||
#[derive(RustcEncodable, RustcDecodable, HashStable_Generic)]
|
#[derive(RustcEncodable, RustcDecodable, HashStable_Generic)]
|
||||||
pub enum BorrowKind {
|
pub enum BorrowKind {
|
||||||
/// A raw borrow, `&raw const $expr` or `&raw mut $expr`.
|
|
||||||
/// The resulting type is either `*const T` or `*mut T`
|
|
||||||
/// where `T = typeof($expr)`.
|
|
||||||
Ref,
|
|
||||||
/// A normal borrow, `&$expr` or `&mut $expr`.
|
/// A normal borrow, `&$expr` or `&mut $expr`.
|
||||||
/// The resulting type is either `&'a T` or `&'a mut T`
|
/// The resulting type is either `&'a T` or `&'a mut T`
|
||||||
/// where `T = typeof($expr)` and `'a` is some lifetime.
|
/// where `T = typeof($expr)` and `'a` is some lifetime.
|
||||||
|
Ref,
|
||||||
|
/// A raw borrow, `&raw const $expr` or `&raw mut $expr`.
|
||||||
|
/// The resulting type is either `*const T` or `*mut T`
|
||||||
|
/// where `T = typeof($expr)`.
|
||||||
Raw,
|
Raw,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue