Rust 1.85 (#25272)
Closes #ISSUE Release Notes: - N/A *or* Added/Fixed/Improved ... --------- Co-authored-by: Anthony Eid <hello@anthonyeid.me>
This commit is contained in:
parent
fc52b43159
commit
e4e758db3a
68 changed files with 180 additions and 190 deletions
|
|
@ -649,7 +649,7 @@ impl<'a, T: 'static> Context<'a, T> {
|
|||
}
|
||||
}
|
||||
|
||||
impl<'a, T> Context<'a, T> {
|
||||
impl<T> Context<'_, T> {
|
||||
/// Emit an event of the specified type, which can be handled by other entities that have subscribed via `subscribe` methods on their respective contexts.
|
||||
pub fn emit<Evt>(&mut self, event: Evt)
|
||||
where
|
||||
|
|
@ -664,7 +664,7 @@ impl<'a, T> Context<'a, T> {
|
|||
}
|
||||
}
|
||||
|
||||
impl<'a, T> AppContext for Context<'a, T> {
|
||||
impl<T> AppContext for Context<'_, T> {
|
||||
type Result<U> = U;
|
||||
|
||||
fn new<U: 'static>(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue