]> git.lizzy.rs Git - rust.git/commitdiff
syntax: Fix an accidental hyperlink in a comment
authorAlex Crichton <alex@alexcrichton.com>
Thu, 29 May 2014 22:52:23 +0000 (15:52 -0700)
committerAlex Crichton <alex@alexcrichton.com>
Sun, 1 Jun 2014 05:00:26 +0000 (22:00 -0700)
src/librustdoc/clean/mod.rs
src/libsyntax/ext/deriving/generic/mod.rs

index 22aab89ef6279c1841223523413f4310fd658cd5..856619882c574b18753448b26909c2c04e600e9f 100644 (file)
@@ -1028,7 +1028,7 @@ pub enum Type {
     // region, raw, other boxes, mutable
 }
 
-#[deriving(Clone, Encodable, Decodable, Eq, TotalEq, Hash)]
+#[deriving(Clone, Encodable, Decodable, PartialEq, TotalEq, Hash)]
 pub enum Primitive {
     Int, I8, I16, I32, I64,
     Uint, U8, U16, U32, U64,
index e2290129dc8b4070ae3bffe6477eb185a70234d1..aecfe935d30fba7080e101c4a273ad09403dd4d5 100644 (file)
@@ -288,7 +288,7 @@ pub enum SubstructureFields<'a> {
 
     /**
     non-matching variants of the enum, [(variant index, ast::Variant,
-    [field span, field ident, fields])] (i.e. all fields for self are in the
+    [field span, field ident, fields])] \(i.e. all fields for self are in the
     first tuple, for other1 are in the second tuple, etc.)
     */
     EnumNonMatching(&'a [(uint, P<ast::Variant>, Vec<(Span, Option<Ident>, @Expr)> )]),