Skip to content

Commit 3e05781

Browse files
Docs
1 parent b158800 commit 3e05781

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ license = "BSD-2-Clause OR Apache-2.0 OR MIT"
77

88
# rust-version is recognized only since Rust 1.56, but that's OK.
99
#
10-
# Tests require Rust 1.79+
10+
# Tests require Rust 1.89+. See .github/workflows/main.yml.
1111
rust-version = "1.39"
1212

1313
authors = ["Peter Lyons Kehl<[email protected]>"]

README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@ The pains (that pend [rust-lang/rust#110613](https://github.com/rust-lang/rust/i
5555
- do **not** have the test logic at the top level, otherwise rustdoc/doctest mechanism
5656
automatically puts the whole doctest code inside `fn main()`, which will include
5757
`::prudent::load!(...)` and `use crate::prudent::*`, which will fail with very strange errors.
58-
If all you are testing is `const`, have an empty `fn main() {}`. (If you run `cargo clippy`
59-
and it complains, see `prudent`'s source code on how to allow
58+
Even if all you are testing is `const`, have an empty `fn main() {}`. (If you run `cargo
59+
clippy` and it complains, see `prudent`'s source code on how to allow
6060
`clippy::needless_doctest_main`.)
6161

6262
## Limitation of lint control for unsafe_method
@@ -91,7 +91,7 @@ Alpine Linux (without `libc`, in a `rust:1.87-alpine` container)<!-- and are POS
9191
compilation error codes.
9292
- Error output validation: Some lint violations don't have a special error code. So we validate the
9393
error message in
94-
[violations_coverage/verify_error_messages](violations_coverage/verify_error_messages) with
94+
[violations_coverage/verify_error_messages/](violations_coverage/verify_error_messages/) with
9595
[dtolnay/trybuild](https://github.com/dtolnay/trybuild/)
9696
[crates.io/crates/trybuild](https://crates.io/crates/trybuild).
9797

@@ -653,6 +653,8 @@ Sorted by importance (for `prudent`):
653653
`#![forbid(unsafe_code)]` library can emit `unsafe`
654654
- [Veykril/tlborm#114](https://github.com/Veykril/tlborm/issues/114) storing & (re)using variadic
655655
tuples
656+
- [dtolnay/trybuild#321](https://github.com/dtolnay/trybuild/pull/321) README: Avoid directory
657+
traversal
656658

657659
<!-- 1. Link URLs to be used on GitHub.
658660
2. Relative links also work auto-magically on https://crates.io/crates/prudent.

0 commit comments

Comments
 (0)