Skip to content

Commit

Permalink
Fix one outdated comment
Browse files Browse the repository at this point in the history
  • Loading branch information
sampsyo committed Apr 4, 2024
1 parent a1615c4 commit 0cbf6a8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions polbin/src/cmds.rs
Original file line number Diff line number Diff line change
Expand Up @@ -199,8 +199,7 @@ impl<'a> SubgraphBuilder<'a> {
fn extract(&mut self, origin: Index, dist: usize) {
self.include_seg(origin);

// Find the set of all segments that are 1 link away, and insert them into a new
// subgraph.
// Find the set of all segments that are 1 link away.
assert_eq!(dist, 1, "only `-c 1` is implemented so far");
for link in self.old.links.iter() {
if let Some(other_seg) = link.incident_seg(origin) {
Expand Down

0 comments on commit 0cbf6a8

Please sign in to comment.