diff --git a/docs/user/assists.md b/docs/user/assists.md index e2850b4ddeb..f3ce6b0e0f4 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 => {} } } ```