Skip to content

Commit

Permalink
fix(doc): refer to usize::MAX instead of std::usize::MAX
Browse files Browse the repository at this point in the history
  • Loading branch information
samueltardieu committed Sep 5, 2024
1 parent 60fd8b6 commit b1c2f35
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 b1c2f35

Please sign in to comment.