about summary refs log tree commit diff
path: root/src/libsyntax
diff options
context:
space:
mode:
authorMatthew Jasper <mjjasper1@gmail.com>2019-12-02 22:20:35 +0000
committerMatthew Jasper <mjjasper1@gmail.com>2019-12-18 20:30:00 +0000
commita74911662e8de2c024ea188e4dcac6a494c74455 (patch)
tree8fc4fbe74eefcd18326c5dbd99c6e43790177346 /src/libsyntax
parent6dcc78997f19822373ed17549004282da82851dc (diff)
downloadrust-a74911662e8de2c024ea188e4dcac6a494c74455.tar.gz
rust-a74911662e8de2c024ea188e4dcac6a494c74455.zip
Fix comment ordering
Diffstat (limited to 'src/libsyntax')
-rw-r--r--src/libsyntax/ast.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/libsyntax/ast.rs b/src/libsyntax/ast.rs
index 92ba071a03d..274e19ec3e4 100644
--- a/src/libsyntax/ast.rs
+++ b/src/libsyntax/ast.rs
@@ -728,13 +728,13 @@ impl Mutability {
 #[derive(Clone, Copy, PartialEq, Eq, Debug)]
 #[derive(RustcEncodable, RustcDecodable, HashStable_Generic)]
 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`.
     /// The resulting type is either `&'a T` or `&'a mut T`
     /// 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,
 }