diff options
author | tcmal <me@aria.rip> | 2024-08-25 17:44:24 +0100 |
---|---|---|
committer | tcmal <me@aria.rip> | 2024-08-25 17:44:24 +0100 |
commit | f84ec1a3e077fa0f2e9cd310b6e32e81f1bc1129 (patch) | |
tree | e6d49bbbacc9e87e97093729a9387fe779083a76 /stockton-input-codegen/src/lib.rs | |
parent | 982c053f3946b53e1d763df71e4ffcb81362e8d3 (diff) |
chore(all): docs fixes
Diffstat (limited to 'stockton-input-codegen/src/lib.rs')
-rw-r--r-- | stockton-input-codegen/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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<u32, (MovementInputsFields, InputMutation)> |