Remove unneeded anonymous lifetimes from gpui::Context
(#27686)
This PR removes a number of unneeded anonymous lifetimes from usages of `gpui::Context`. Release Notes: - N/A
This commit is contained in:
parent
e90411efa2
commit
b5dc09c0ca
32 changed files with 80 additions and 87 deletions
|
@ -1427,7 +1427,7 @@ impl Session {
|
|||
fn clear_active_debug_line_response(
|
||||
&mut self,
|
||||
response: Result<()>,
|
||||
cx: &mut Context<'_, Session>,
|
||||
cx: &mut Context<Session>,
|
||||
) -> Option<()> {
|
||||
response.log_err()?;
|
||||
self.clear_active_debug_line(cx);
|
||||
|
@ -1931,7 +1931,7 @@ fn create_local_session(
|
|||
mut message_rx: futures::channel::mpsc::UnboundedReceiver<Message>,
|
||||
mode: LocalMode,
|
||||
capabilities: Capabilities,
|
||||
cx: &mut Context<'_, Session>,
|
||||
cx: &mut Context<Session>,
|
||||
) -> Session {
|
||||
let _background_tasks = vec![cx.spawn(async move |this: WeakEntity<Session>, cx| {
|
||||
let mut initialized_tx = Some(initialized_tx);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue