From f84ec1a3e077fa0f2e9cd310b6e32e81f1bc1129 Mon Sep 17 00:00:00 2001 From: tcmal Date: Sun, 25 Aug 2024 17:44:24 +0100 Subject: chore(all): docs fixes --- stockton-input-codegen/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'stockton-input-codegen') diff --git a/stockton-input-codegen/src/lib.rs b/stockton-input-codegen/src/lib.rs index 89bbef5..35f6621 100644 --- a/stockton-input-codegen/src/lib.rs +++ b/stockton-input-codegen/src/lib.rs @@ -7,7 +7,7 @@ use quote::{format_ident, quote}; use syn::{parse_macro_input, Data, DeriveInput, Fields, Ident}; /// Generate an input manager for the given struct. -/// Each button in the struct should be decorated with #[button] and each axis with #[axis]. +/// Each button in the struct should be decorated with `#[button]` and each axis with `#[axis]`. /// Given struct MovementInputs, this will output struct MovementInputsManager which implements InputManager. /// It also creates an enum MovementInputsFields, with values for all the buttons and axes in MovementInputs. /// You'll need to pass in an action schema to `MovementInputsManager::new()`, which is a BTreeMap -- cgit v1.2.3