Skip to content

Commit 6969d74

Browse files
authored
Rename gen_iter → random_iter, misc.. (rust-random#1500)
This extracts the non-inherent-methods stuff from rust-random#1492.
1 parent 4e007cf commit 6969d74

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/weighted_alias.rs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -275,9 +275,10 @@ where
275275
}
276276
}
277277

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.
278+
/// Weight bound for [`WeightedAliasIndex`]
279+
///
280+
/// Currently no guarantees on the correctness of [`WeightedAliasIndex`] are
281+
/// given for custom implementations of this trait.
281282
pub trait AliasableWeight:
282283
Sized
283284
+ Copy

0 commit comments

Comments
 (0)