Skip to content

Commit

Permalink
Merge pull request #588 from evenfurther/usize-max
Browse files Browse the repository at this point in the history
fix(doc): refer to `usize::MAX` instead of `std::usize::MAX`
  • Loading branch information
samueltardieu authored Sep 5, 2024
2 parents 60fd8b6 + b1c2f35 commit e32db8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/undirected/connected_components.rs
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ fn find(table: &mut [usize], mut x: usize) -> usize {
/// - A mapping from every group to its set identifier, with the identifiers being
/// the same ones as the ones in the previous mapping. Each group corresponds to
/// the identifier at the same index, except for empty group whose identifier is
/// set to `std::usize::MAX`.
/// set to `usize::MAX`.
///
/// Note that if you have a raw undirected graph, you can build
/// such a structure by creating a group for every vertex containing
Expand Down

0 comments on commit e32db8c

Please sign in to comment.