fix: show TryFrom trait import in doc (#16)

This commit is contained in:
DCsunset 2020-08-03 16:30:43 +08:00 committed by GitHub
parent 5b798ab016
commit 69428361ba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -10,8 +10,8 @@ use arbitrary::Arbitrary;
/// Usage example: /// Usage example:
/// ``` /// ```
/// use sharks::{Sharks, Share}; /// use sharks::{Sharks, Share};
/// use core::convert::TryFrom;
/// # use rand_chacha::rand_core::SeedableRng; /// # use rand_chacha::rand_core::SeedableRng;
/// # use core::convert::TryFrom;
/// # fn send_to_printer(_: Vec<u8>) {} /// # fn send_to_printer(_: Vec<u8>) {}
/// # fn ask_shares() -> Vec<Vec<u8>> {vec![vec![1, 2], vec![2, 3], vec![3, 4]]} /// # fn ask_shares() -> Vec<Vec<u8>> {vec![vec![1, 2], vec![2, 3], vec![3, 4]]}
/// ///