mirror of https://github.com/rust-lang/rfcs.git
Use more common 'tests' module name over 'test' in examples
This commit is contained in:
parent
b39cd865ec
commit
75f671857f
|
@ -51,7 +51,7 @@ nothing else. When using `mod` blocks, prefer `///` outside of the block:
|
|||
|
||||
```rust
|
||||
/// This module contains tests
|
||||
mod test {
|
||||
mod tests {
|
||||
// ...
|
||||
}
|
||||
```
|
||||
|
@ -59,7 +59,7 @@ mod test {
|
|||
over
|
||||
|
||||
```rust
|
||||
mod test {
|
||||
mod tests {
|
||||
//! This module contains tests
|
||||
|
||||
// ...
|
||||
|
|
|
@ -350,7 +350,7 @@ nothing else. When using `mod` blocks, prefer `///` outside of the block:
|
|||
|
||||
```rust
|
||||
/// This module contains tests
|
||||
mod test {
|
||||
mod tests {
|
||||
// ...
|
||||
}
|
||||
```
|
||||
|
@ -358,7 +358,7 @@ mod test {
|
|||
over
|
||||
|
||||
```rust
|
||||
mod test {
|
||||
mod tests {
|
||||
//! This module contains tests
|
||||
|
||||
// ...
|
||||
|
|
Loading…
Reference in New Issue