Fix unused variable warning

This commit is contained in:
Antonio Scandurra 2021-07-26 13:03:22 +02:00
parent b647e3ee71
commit 0586a897ca

View File

@ -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,