forked from external-repos/squoosh
Fix unwrap_hard when debug_assertions is set
This commit is contained in:
@@ -18,7 +18,7 @@ impl<T> HardUnwrap<T> for Option<T> {
|
||||
|
||||
#[cfg(debug_assertions)]
|
||||
fn unwrap_hard(self) -> T {
|
||||
o.unwrap()
|
||||
self.unwrap()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user