diff --git a/firewood/examples/insert.rs b/firewood/examples/insert.rs index a65e8357e..56dc7e021 100644 --- a/firewood/examples/insert.rs +++ b/firewood/examples/insert.rs @@ -114,7 +114,7 @@ async fn verify_keys( let hash = db.root_hash().await?; let revision = db.revision(hash).await?; for (key, value) in verify { - assert_eq!(*value, revision.val(key).await?.unwrap()); + assert_eq!(Some(value), revision.val(key).await?); } } Ok(())