Skip to content

Commit e15cddd

Browse files
author
Dave Abrahams
authored
Fix wrong word.
1 parent 7f19563 commit e15cddd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

better-code/src/chapter-2-contracts.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ When a valid triple has identical precondition and postcondition,
221221
Hoare calls that condition an **invariant** of the operation, a
222222
condition that the operation preserves. The preceding example is
223223
distilled from the *binary search* algorithm, where *l**h* is an
224-
invariant of the sequence. Knowing that *l**h* at each step is
224+
invariant of the algorithm. Knowing that *l**h* at each step is
225225
crucial to understanding the algorithm's correctness.
226226

227227
The sequencing rule is good for code that runs in a straight line, but

0 commit comments

Comments
 (0)