made ev::undelegated lowercase to match the rest of the event names

This commit is contained in:
Jose Quesada 2022-12-28 15:28:59 -06:00
parent e8424138ce
commit 28bb3f81aa

View file

@ -24,7 +24,8 @@ pub trait EventDescriptor: Clone {
/// Overrides the [`EventDescriptor::bubbles`] method to always return
/// `false`, which forces the event to not be globally delegated.
#[derive(Clone)]
pub struct Undelegated<Ev: EventDescriptor>(pub Ev);
#[allow(non_camel_case_types)]
pub struct undelegated<Ev: EventDescriptor>(pub Ev);
impl<Ev: EventDescriptor> EventDescriptor for Undelegated<Ev> {
type EventType = Ev::EventType;