diff --git a/src/hasher.rs b/src/hasher.rs index d34a11d1..40984f1a 100644 --- a/src/hasher.rs +++ b/src/hasher.rs @@ -19,7 +19,7 @@ //! pool: None, //! restat: false, //! }; -//! let hash = ActionHasher::hash(&action); +//! let hash = ActionHasher::hash(&action).expect("failed to hash action"); //! assert!(!hash.is_empty()); //! ```