mirror of
https://github.com/google/comprehensive-rust.git
synced 2025-01-05 16:10:31 +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):
|
||||
|
||||
```rust,editable,compile_fail
|
||||
struct PoundOfForce(f64);
|
||||
struct PoundsOfForce(f64);
|
||||
struct Newtons(f64);
|
||||
|
||||
fn compute_thruster_force() -> PoundOfForce {
|
||||
fn compute_thruster_force() -> PoundsOfForce {
|
||||
todo!("Ask a rocket scientist at NASA")
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user