diff --git a/rustworkx-core/src/connectivity/isolates.rs b/rustworkx-core/src/connectivity/isolates.rs index 6eaa25cec..df1a5b7c2 100644 --- a/rustworkx-core/src/connectivity/isolates.rs +++ b/rustworkx-core/src/connectivity/isolates.rs @@ -13,7 +13,7 @@ use petgraph::visit::{IntoNeighborsDirected, IntoNodeIdentifiers, NodeIndexable}; use petgraph::Direction::{Incoming, Outgoing}; -/// Return the fisolates in a graph object +/// Return the isolates in a graph object /// /// An isolate is a node without any neighbors meaning it has a degree of 0. For /// directed graphs this means the in-degree and out-degree are both 0.