Skip to content
This repository was archived by the owner on Sep 9, 2025. It is now read-only.

Commit e6fd1a9

Browse files
author
Hendrik van Antwerpen
committed
strenghten -> strengthen
1 parent c4cce61 commit e6fd1a9

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

stack-graphs/src/stitching.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -763,16 +763,16 @@ impl<H: Clone> ForwardPartialPathStitcher<H> {
763763
.is_cyclic(graph, partials, db, &mut self.appended_paths)
764764
.expect("cyclic test failed when stitching partial paths");
765765
let cyclic = match has_precondition_variables {
766-
// If the precondition has no variables, we allow cycles that strenghten the
767-
// precondition, because we know they cannot strenghten the precondition of
766+
// If the precondition has no variables, we allow cycles that strengthen the
767+
// precondition, because we know they cannot strengthen the precondition of
768768
// the overall path.
769769
false => !cycles
770770
.into_iter()
771771
.all(|c| c == Cyclicity::StrengthensPrecondition),
772772
// If the precondition has variables, do not allow any cycles, not even those
773773
// that strengthen the precondition. This is more strict than necessary. Better
774-
// might be to disallow precondition strenghtening cycles only if they would
775-
// strenghten the overall path precondition.
774+
// might be to disallow precondition strengthening cycles only if they would
775+
// strengthen the overall path precondition.
776776
true => !cycles.is_empty(),
777777
};
778778
if cyclic {

0 commit comments

Comments
 (0)