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
3 changes: 3 additions & 0 deletions .git-blame-ignore-revs
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Commits that only reformat, left out of a blame: `git config blame.ignoreRevsFile .git-blame-ignore-revs`.
# Code formatted at 110 columns (#1851)
97af2e0fd1f0dd5a07bf0b9b69811e6778ea6d73
6 changes: 4 additions & 2 deletions docs/architecture.md
Original file line number Diff line number Diff line change
Expand Up @@ -6698,8 +6698,10 @@ stress budget holds only if it stops keeping the bodies.
`cargo test --workspace --exclude e2e` runs everything but the scenarios.
`cargo clippy --workspace --all-targets --all-features -- -D warnings` (`--all-features` is what
compiles the `e2e` flavour) and `cargo fmt --all --check` gate the code; `rustfmt.toml` sets lines
of 110 columns, filled before they are cut, a chain of calls past 80 cut at each call. The workspace
`Cargo.toml` sets `unsafe_code = "forbid"` (D7) and denies `clippy::all` and `clippy::pedantic`.
of 110 columns, filled before they are cut, a chain of calls past 80 cut at each call. A commit that
only reformats is named in `.git-blame-ignore-revs`, which GitHub's blame leaves out, and a local one
after `git config blame.ignoreRevsFile .git-blame-ignore-revs`. The workspace `Cargo.toml` sets
`unsafe_code = "forbid"` (D7) and denies `clippy::all` and `clippy::pedantic`.

Unit tests are inline `#[cfg(test)] mod tests` blocks at the bottom of the file they cover —
the idiomatic Rust form, and the one that keeps a test next to what it asserts. Shared
Expand Down
Loading