We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f5e3b45 commit 5864683Copy full SHA for 5864683
src/lib.rs
@@ -197,9 +197,6 @@ pub trait TryRng {
197
fn try_fill_bytes(&mut self, dst: &mut [u8]) -> Result<(), Self::Error>;
198
}
199
200
-// Note that, unfortunately, this blanket impl prevents us from implementing
201
-// `TryRng` for types which can be dereferenced to `TryRng`, i.e. `TryRng`
202
-// will not be automatically implemented for `&mut R`, `Box<R>`, etc.
203
impl<R: DerefMut> TryRng for R
204
where
205
R::Target: TryRng,
0 commit comments