]> git.lizzy.rs Git - rust.git/commitdiff
typo: use commas around "e.g."
authorBen Boeckel <mathstuf@gmail.com>
Sat, 2 Jul 2016 02:59:42 +0000 (22:59 -0400)
committerBen Boeckel <mathstuf@gmail.com>
Sat, 2 Jul 2016 11:59:20 +0000 (07:59 -0400)
clippy_lints/src/methods.rs

index a959dbe1d6ad73cda909d47fde2070069821b5c5..c59453333a4d7ee817707a7c9b30184cd79915e0 100644 (file)
@@ -73,7 +73,7 @@
 /// |`is_`  |`&self` or none     |
 /// |`to_`  |`&self`             |
 ///
-/// **Why is this bad?** Consistency breeds readability. If you follow the conventions, your users won't be surprised that they e.g. need to supply a mutable reference to a `as_..` function.
+/// **Why is this bad?** Consistency breeds readability. If you follow the conventions, your users won't be surprised that they, e.g., need to supply a mutable reference to a `as_..` function.
 ///
 /// **Known problems:** None
 ///