Skip to content

Commit 07a4469

Browse files
committed
docs: cleanup some first line
1 parent c7f6270 commit 07a4469

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

src/undirected/cliques.rs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
use std::collections::HashSet;
44
use std::hash::Hash;
55

6-
/// Algorithm for finding all maximal cliques in an undirected graph.
6+
/// Find all maximal cliques in an undirected graph.
7+
///
78
/// That is, it lists all subsets of vertices with the two properties that each pair of vertices in
89
/// one of the listed subsets is connected by an edge, and no listed subset can have
910
/// any additional vertices added to it while preserving its complete connectivity.
@@ -32,7 +33,8 @@ where
3233
result
3334
}
3435

35-
/// Algorithm for finding all maximal cliques in an undirected graph.
36+
/// Find all maximal cliques in an undirected graph.
37+
///
3638
/// That is, it lists all subsets of vertices with the two properties that each pair of vertices in
3739
/// one of the listed subsets is connected by an edge, and no listed subset can have
3840
/// any additional vertices added to it while preserving its complete connectivity.

src/undirected/connected_components.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ use std::marker::PhantomData;
99
use rustc_hash::{FxHashMap, FxHashSet};
1010

1111
/// A connected component implementation for various generic types.
12+
///
1213
/// This structure is only useful if the default collections used by
1314
/// the various functions of the [`connected_components`](self) module
1415
/// do not fit your needs.

0 commit comments

Comments
 (0)