1
0
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:
Tanuj 2023-05-05 08:57:44 +01:00 committed by GitHub
parent d0bf0d7a44
commit d83d1f1c48
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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")
}