Remove Hash bound in Input trait (#670)

This commit is contained in:
Andrea Fioraldi 2022-06-10 15:24:31 +02:00 committed by GitHub
parent c9f802a3b8
commit a2388d4400
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -52,7 +52,7 @@ pub trait Input: Clone + Serialize + serde::de::DeserializeOwned + Debug {
/// An input for the target /// An input for the target
#[cfg(feature = "std")] #[cfg(feature = "std")]
pub trait Input: Clone + Serialize + serde::de::DeserializeOwned + Debug + Hash { pub trait Input: Clone + Serialize + serde::de::DeserializeOwned + Debug {
/// Write this input to the file /// Write this input to the file
fn to_file<P>(&self, path: P) -> Result<(), Error> fn to_file<P>(&self, path: P) -> Result<(), Error>
where where