Fix builds.

This commit is contained in:
Stephen Chung
2020-11-12 23:09:27 +08:00
parent 69a0f044f4
commit 27619b86db
2 changed files with 4 additions and 4 deletions

View File

@@ -388,7 +388,7 @@ impl Hash for Dynamic {
Union::Shared(cell) => (*cell.borrow()).hash(state),
#[cfg(not(feature = "no_closure"))]
#[cfg(feature = "sync")]
Union::Shared(cell) => (*cell.read().unwrap()).hash(hasher),
Union::Shared(cell) => (*cell.read().unwrap()).hash(state),
_ => unimplemented!(),
}