]> git.lizzy.rs Git - rust.git/blobdiff - README.md
Move `PtrEq` into `Operators` lin pass
[rust.git] / README.md
index c52f873adc0689526da964a9f620f464407006f6..2c3defeaa83078d2d124d62fbc1bb3cb6458d600 100644 (file)
--- a/README.md
+++ b/README.md
@@ -214,6 +214,14 @@ specifying the minimum supported Rust version (MSRV) in the clippy configuration
 msrv = "1.30.0"
 ```
 
+Alternatively, the [`rust-version` field](https://doc.rust-lang.org/cargo/reference/manifest.html#the-rust-version-field)
+in the `Cargo.toml` can be used.
+
+```toml
+# Cargo.toml
+rust-version = "1.30"
+```
+
 The MSRV can also be specified as an inner attribute, like below.
 
 ```rust