We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e245e92 + d61336f commit 2256e63Copy full SHA for 2256e63
1 file changed
src/tests/best-practices.md
@@ -153,6 +153,7 @@ This may include remarks on:
153
- Try to make sure the test is as minimal as possible.
154
- Minimize non-critical code and especially minimize unnecessary syntax and type
155
errors which can clutter stderr snapshots.
156
+- Use `#![allow(...)]` or `#![expect(...)]` to suppress unrelated warnings.
157
- Where possible, use semantically meaningful names (e.g. `fn
158
bare_coverage_attributes() {}`).
159
0 commit comments