Use more common 'tests' module name over 'test' in examples

This commit is contained in:
Jonas Platte 2021-02-02 11:51:35 +01:00
parent b39cd865ec
commit 75f671857f
No known key found for this signature in database
GPG Key ID: 7D261D771D915378
2 changed files with 4 additions and 4 deletions

View File

@ -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
// ...

View File

@ -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
// ...