]> git.lizzy.rs Git - rust.git/commit
Rollup merge of #24042 - callahad:bug_24030, r=steveklabnik
authorManish Goregaokar <manishsmail@gmail.com>
Tue, 7 Apr 2015 12:42:32 +0000 (18:12 +0530)
committerManish Goregaokar <manishsmail@gmail.com>
Tue, 7 Apr 2015 12:42:32 +0000 (18:12 +0530)
commit4faf0befaa3b2d214c60d2dcd7458a88892ff0d4
treef8c645871d0e557b6e8c1eb462665e12a8b05979
parent4dd6edda9cce10af1bdf4a0ecc5994e6c2d03c78
parentcb1e6a2dc4f5ceba68b52f7d088a9e571948f765
Rollup merge of #24042 - callahad:bug_24030, r=steveklabnik

 Fixes #24030

Of the four code samples with modules in TRPL:

    - 2 use `mod test`
    - 2 use `mod tests`

We should be consistent here, but which is right? The stdlib is split:

    $ grep -r 'mod tests {' src/lib* | wc -l
          63
    $ grep -r 'mod test {'  src/lib* | wc -l
          58

Subjectively, I like the plural, but both the language reference and the
style guide recommend the singular. So we'll go with that here, for now.

r? @steveklabnik