about summary refs log tree commit diff
diff options
context:
space:
mode:
authorTshepang Lekhonkhobe <tshepang@gmail.com>2016-08-23 22:25:40 +0200
committerTshepang Lekhonkhobe <tshepang@gmail.com>2016-08-23 22:25:40 +0200
commitab4c492d68be1d32f52f47bd263b62063ae9b8ae (patch)
tree46bcaf80a2f1cc2b14b60e1361b4e5caa1ece9f8
parent43204fff5d0a656f8a94bfff3129e04bc9d30ad4 (diff)
downloadrust-ab4c492d68be1d32f52f47bd263b62063ae9b8ae.tar.gz
rust-ab4c492d68be1d32f52f47bd263b62063ae9b8ae.zip
reference: add trailing commas
-rw-r--r--src/doc/reference.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/doc/reference.md b/src/doc/reference.md
index f0ab1488d40..be3559a5880 100644
--- a/src/doc/reference.md
+++ b/src/doc/reference.md
@@ -2283,7 +2283,7 @@ the `PartialEq` or `Clone` constraints for the appropriate `impl`:
 #[derive(PartialEq, Clone)]
 struct Foo<T> {
     a: i32,
-    b: T
+    b: T,
 }
 ```
 
@@ -3896,7 +3896,7 @@ Coercion is allowed between the following types:
   use std::ops::Deref;
 
   struct CharContainer {
-      value: char
+      value: char,
   }
 
   impl Deref for CharContainer {