diff --git a/docs/user/assists.md b/docs/user/assists.md index e2850b4dde..f3ce6b0e0f 100644 --- a/docs/user/assists.md +++ b/docs/user/assists.md @@ -267,8 +267,8 @@ enum Action { Move { distance: u32 }, Stop } fn handle(action: Action) { match action { - Action::Move { distance } => (), - Action::Stop => (), + Action::Move { distance } => {} + Action::Stop => {} } } ```