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 4e007cf commit 6969d74Copy full SHA for 6969d74
src/weighted_alias.rs
@@ -275,9 +275,10 @@ where
275
}
276
277
278
-/// Trait that must be implemented for weights, that are used with
279
-/// [`WeightedAliasIndex`]. Currently no guarantees on the correctness of
280
-/// [`WeightedAliasIndex`] are given for custom implementations of this trait.
+/// Weight bound for [`WeightedAliasIndex`]
+///
+/// Currently no guarantees on the correctness of [`WeightedAliasIndex`] are
281
+/// given for custom implementations of this trait.
282
pub trait AliasableWeight:
283
Sized
284
+ Copy
0 commit comments