From 69428361bac27981c2f839daf5be092db74bf64a Mon Sep 17 00:00:00 2001 From: DCsunset Date: Mon, 3 Aug 2020 16:30:43 +0800 Subject: [PATCH] fix: show TryFrom trait import in doc (#16) --- src/share.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/share.rs b/src/share.rs index 7ca298d..869adc8 100644 --- a/src/share.rs +++ b/src/share.rs @@ -10,8 +10,8 @@ use arbitrary::Arbitrary; /// Usage example: /// ``` /// use sharks::{Sharks, Share}; +/// use core::convert::TryFrom; /// # use rand_chacha::rand_core::SeedableRng; -/// # use core::convert::TryFrom; /// # fn send_to_printer(_: Vec) {} /// # fn ask_shares() -> Vec> {vec![vec![1, 2], vec![2, 3], vec![3, 4]]} ///