Documentation Fix (#543)

This commit is contained in:
Spencer Gouw 2021-03-03 23:57:52 -08:00 committed by GitHub
parent 0b598075b7
commit a9d9aff3f0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -442,11 +442,11 @@ pub enum KeyCode {
Insert, Insert,
/// F key. /// F key.
/// ///
/// `KeyEvent::F(1)` represents F1 key, etc. /// `KeyCode::F(1)` represents F1 key, etc.
F(u8), F(u8),
/// A character. /// A character.
/// ///
/// `KeyEvent::Char('c')` represents `c` character, etc. /// `KeyCode::Char('c')` represents `c` character, etc.
Char(char), Char(char),
/// Null. /// Null.
Null, Null,