Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,9 @@
documentation should omit examples where the example serves only to reiterate
the test logic.
- **Keep file size managable.** No single code file may be longer than 400
lines.
Long switch statements or dispatch tables should be broken up by feature and
constituents colocated with targets. Large blocks of test data should be
moved to external data files.
lines. Long switch statements or dispatch tables should be broken up by
feature and constituents colocated with targets. Large blocks of test data
should be moved to external data files.

## Documentation Maintenance

Expand Down
1 change: 1 addition & 0 deletions src/wrap.rs
Original file line number Diff line number Diff line change
Expand Up @@ -290,6 +290,7 @@ fn wrap_preserving_code(text: &str, width: usize) -> Vec<String> {
.last_mut()
.expect("checked last line exists")
.push_str(&tokens[i]);
i += 1;
continue;
}

Expand Down