mirror of
https://github.com/google/comprehensive-rust.git
synced 2025-04-21 07:27:01 +02:00
Fix pluralisation inconsistency (#612)
This commit is contained in:
parent
d0bf0d7a44
commit
d83d1f1c48
@ -14,10 +14,10 @@ fn main() {
|
|||||||
This is often used for single-field wrappers (called newtypes):
|
This is often used for single-field wrappers (called newtypes):
|
||||||
|
|
||||||
```rust,editable,compile_fail
|
```rust,editable,compile_fail
|
||||||
struct PoundOfForce(f64);
|
struct PoundsOfForce(f64);
|
||||||
struct Newtons(f64);
|
struct Newtons(f64);
|
||||||
|
|
||||||
fn compute_thruster_force() -> PoundOfForce {
|
fn compute_thruster_force() -> PoundsOfForce {
|
||||||
todo!("Ask a rocket scientist at NASA")
|
todo!("Ask a rocket scientist at NASA")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user