diff --git a/src/event.rs b/src/event.rs index fcde629..f8f149a 100644 --- a/src/event.rs +++ b/src/event.rs @@ -442,11 +442,11 @@ pub enum KeyCode { Insert, /// F key. /// - /// `KeyEvent::F(1)` represents F1 key, etc. + /// `KeyCode::F(1)` represents F1 key, etc. F(u8), /// A character. /// - /// `KeyEvent::Char('c')` represents `c` character, etc. + /// `KeyCode::Char('c')` represents `c` character, etc. Char(char), /// Null. Null,