diff --git a/text/3681-default-field-values.md b/text/3681-default-field-values.md index 1b7e998263d..fbe8de01a78 100644 --- a/text/3681-default-field-values.md +++ b/text/3681-default-field-values.md @@ -492,7 +492,7 @@ provide a default value `field: Type = value`, the given `value` must be a Therefore, you cannot write something like (10): ```rust -fn launch_missilies() -> Result<(), LaunchFailure> { +fn launch_missiles() -> Result<(), LaunchFailure> { authenticate()?; begin_launch_sequence()?; ignite()?; @@ -501,7 +501,7 @@ fn launch_missilies() -> Result<(), LaunchFailure> { struct BadFoo { bad_field: u8 = { - launch_missilies().unwrap(); + launch_missiles().unwrap(); 42 }, }