Skip to content

Commit 8d57dc9

Browse files
committed
aead-stream: remove unnecessary KeyInit constraint on from_aead
1 parent 68916e5 commit 8d57dc9

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

aead-stream/src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,6 @@ macro_rules! impl_stream_object {
200200
#[doc = "object from the given AEAD primitive."]
201201
pub fn from_aead(aead: A, nonce: &Nonce<A, S>) -> Self
202202
where
203-
A: KeyInit,
204203
S: NewStream<A>,
205204
{
206205
Self::from_stream_primitive(S::from_aead(aead, nonce))

0 commit comments

Comments
 (0)