about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJonathan Turner <jonathandturner@users.noreply.github.com>2016-08-24 10:35:29 -0700
committerGitHub <noreply@github.com>2016-08-24 10:35:29 -0700
commit411a85e2717ddd016fa4a3fbf5df5231018616ec (patch)
tree43de3465d9774abb616bf75d59fc69a1586d3b4b
parent336841ccf9ee71ec8c31c4a8708fb75559a9cf96 (diff)
parentab4c492d68be1d32f52f47bd263b62063ae9b8ae (diff)
downloadrust-411a85e2717ddd016fa4a3fbf5df5231018616ec.tar.gz
rust-411a85e2717ddd016fa4a3fbf5df5231018616ec.zip
Rollup merge of #35948 - tshepang:missing-comma, r=steveklabnik
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 {