]> git.lizzy.rs Git - rust.git/commitdiff
Cleanup comments
authorJeffrey Seyfried <jeffrey.seyfried@gmail.com>
Thu, 23 Jun 2016 01:04:08 +0000 (01:04 +0000)
committerJeffrey Seyfried <jeffrey.seyfried@gmail.com>
Thu, 23 Jun 2016 01:05:32 +0000 (01:05 +0000)
src/libsyntax/ast.rs

index e55c2645e6e56e5aea615d3fd2923aaa2ed8b7f2..8393ae63631da1d2596ca17b9d5ebbdc07e89806 100644 (file)
@@ -801,16 +801,16 @@ fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
 
 #[derive(Clone, PartialEq, Eq, RustcEncodable, RustcDecodable, Hash)]
 pub enum StmtKind {
-    /// A local (let) binding:
+    /// A local (let) binding.
     Local(P<Local>),
 
-    /// An item binding
+    /// An item definition.
     Item(P<Item>),
 
-    /// Expr without trailing semi-colon (must have unit type):
+    /// Expr without trailing semi-colon (must have unit type).
     Expr(P<Expr>),
 
-    /// Expr with trailing semi-colon (may have any type):
+    /// Expr with trailing semi-colon (may have any type).
     Semi(P<Expr>),
 
     Mac(P<(Mac, MacStmtStyle, ThinAttributes)>),