Merge pull request #1065 from mathstuf/doc-typos

typo: use commas around "e.g."
This commit is contained in:
Manish Goregaokar 2016-07-02 17:32:10 +05:30 committed by GitHub
commit cb9786e715

View file

@ -73,7 +73,7 @@ declare_lint! {
/// |`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
///