Fix typo in deprecation message (#2199)

This commit is contained in:
Nikolai Kuklin
2022-02-19 20:21:37 +05:00
committed by GitHub
parent f9643917d3
commit fb8313aa97

View File

@@ -183,7 +183,7 @@ impl EventLoop<()> {
}
impl<T> EventLoop<T> {
#[deprecated = "Use `EventLoopBuiler::<T>::with_user_event().build()` instead."]
#[deprecated = "Use `EventLoopBuilder::<T>::with_user_event().build()` instead."]
pub fn with_user_event() -> EventLoop<T> {
EventLoopBuilder::<T>::with_user_event().build()
}