]> git.lizzy.rs Git - rust.git/commitdiff
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)
 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


Trivial merge