Avoid storing operations when no buffers are being loaded
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
This commit is contained in:
parent
93ed34f918
commit
bee7055634
3 changed files with 67 additions and 19 deletions
|
@ -220,6 +220,10 @@ impl Client {
|
|||
})
|
||||
}
|
||||
|
||||
pub fn id(&self) -> usize {
|
||||
self.id
|
||||
}
|
||||
|
||||
#[cfg(any(test, feature = "test-support"))]
|
||||
pub fn override_authenticate<F>(&mut self, authenticate: F) -> &mut Self
|
||||
where
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue