1
0
mirror of https://github.com/google/comprehensive-rust.git synced 2025-06-17 14:47:35 +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

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