Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
This commit is contained in:
Matthias Beyer 2020-07-23 17:50:26 +02:00 committed by GitHub
parent b7bf861554
commit d96904a07d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -241,7 +241,7 @@ impl From<Box<dyn Fn(&mut Cursive)>> for Callback {
pub enum EventResult {
/// The event was ignored. The parent can keep handling it.
Ignored,
/// The event was consumed. An optionnal callback to run is attached.
/// The event was consumed. An optional callback to run is attached.
Consumed(Option<Callback>), // TODO: make this a FnOnce?
}