diff --git a/src/keycodes.rs b/src/keycodes.rs index 3a7fc24b..ceaa7316 100644 --- a/src/keycodes.rs +++ b/src/keycodes.rs @@ -603,8 +603,8 @@ pub enum Key { /// value of. Let us know if you think the key should be listed so /// we can add it /// On Linux, this will result in a keysym, - /// On Windows, this will result in a Virtual_Key and - /// On macOS, this will yield a KeyCode + /// On Windows, this will result in a `Virtual_Key` and + /// On macOS, this will yield a `KeyCode` Other(u32), } diff --git a/src/lib.rs b/src/lib.rs index 0671cd1a..dd940817 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -94,11 +94,11 @@ pub enum Button { /// Right mouse button Right, #[cfg(any(target_os = "windows", target_os = "linux"))] - /// 4th mouse button. Typically performs the same function as Browser_Back + /// 4th mouse button. Typically performs the same function as `Browser_Back` Back, #[cfg(any(target_os = "windows", target_os = "linux"))] /// 5th mouse button. Typically performs the same function as - /// Browser_Forward + /// `Browser_Forward` Forward, /// Scroll up button. It is better to use the