Fix builds.

This commit is contained in:
Stephen Chung
2022-12-03 12:08:35 +08:00
parent 4e33bcfa0a
commit ffc8a7f85c
5 changed files with 9 additions and 11 deletions

View File

@@ -187,6 +187,7 @@ impl Engine {
Target::RefMut(_) | Target::TempValue(_) => {
*target.write_lock::<Dynamic>().unwrap() = new_val
}
#[allow(unreachable_patterns)]
_ => **target = new_val,
}
}