diff --git a/belt-dwp/src/lib.rs b/belt-dwp/src/lib.rs index 665d05c1..8e5ac945 100644 --- a/belt-dwp/src/lib.rs +++ b/belt-dwp/src/lib.rs @@ -58,7 +58,7 @@ //! BeltDwp, Nonce //! }; //! -//! let key = BeltDwp::generate_key(&mut OsRng)?; +//! let key = BeltDwp::generate_key(&mut OsRng); //! let cipher = BeltDwp::new(&key); //! let nonce = Nonce::from_slice(b"unique nonce1234"); // 128-bits; unique per message //!