chore: Prepare for Rust edition bump to 2024 (without autofix) (#27791)
Successor to #27779 - in this PR I've applied changes manually, without futzing with if let lifetimes at all. Release Notes: - N/A
This commit is contained in:
@@ -1136,7 +1136,7 @@ impl GitStore {
|
||||
&mut self,
|
||||
buffers: Vec<Entity<Buffer>>,
|
||||
cx: &mut Context<Self>,
|
||||
) -> impl Future<Output = ()> {
|
||||
) -> impl Future<Output = ()> + use<> {
|
||||
let mut futures = Vec::new();
|
||||
for buffer in buffers {
|
||||
if let Some(diff_state) = self.diffs.get_mut(&buffer.read(cx).remote_id()) {
|
||||
|
||||
Reference in New Issue
Block a user