From a9d9aff3f0397643be6f834f3f2777f6d8d996e9 Mon Sep 17 00:00:00 2001 From: Spencer Gouw Date: Wed, 3 Mar 2021 23:57:52 -0800 Subject: [PATCH] Documentation Fix (#543) --- src/event.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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,