mirror of
https://github.com/zed-industries/zed.git
synced 2024-11-07 20:39:04 +03:00
Fix unused variable warning
This commit is contained in:
parent
b647e3ee71
commit
0586a897ca
@ -266,8 +266,7 @@ impl FoldMap {
|
||||
}
|
||||
|
||||
fn check_invariants(&self, cx: &AppContext) {
|
||||
#[cfg(debug_assertions)]
|
||||
{
|
||||
if cfg!(test) {
|
||||
let buffer = self.buffer.read(cx);
|
||||
assert_eq!(
|
||||
self.transforms.lock().summary().input.bytes,
|
||||
|
Loading…
Reference in New Issue
Block a user