diff --git a/docs/book/src/usage/lint-crate-declaration.md b/docs/book/src/usage/lint-crate-declaration.md index 1860ff16..c200f341 100644 --- a/docs/book/src/usage/lint-crate-declaration.md +++ b/docs/book/src/usage/lint-crate-declaration.md @@ -31,12 +31,12 @@ A lint crate can be specified with the `--lints` option. The string is expected ```sh # An external crate from a registry -cargo marker --lint "marker_lints = '0.4.3'" +cargo marker --lints "marker_lints = '0.4.3'" # An external crate from git -cargo marker --lint "marker_lints = { git = 'https://github.com/rust-marker/marker' }" +cargo marker --lints "marker_lints = { git = 'https://github.com/rust-marker/marker' }" # A local crate as a path -cargo marker --lint "marker_lints = { path = './marker_lints' }" +cargo marker --lints "marker_lints = { path = './marker_lints' }" ``` diff --git a/scripts/release/set-version.diff b/scripts/release/set-version.diff index 040a1962..4025b2b8 100644 --- a/scripts/release/set-version.diff +++ b/scripts/release/set-version.diff @@ -160,8 +160,8 @@ +marker_lints = "0.1.0" # An external crate from a registry --cargo marker --lint "marker_lints = 'X.Y.Z'" -+cargo marker --lint "marker_lints = '0.1.0'" +-cargo marker --lints "marker_lints = 'X.Y.Z'" ++cargo marker --lints "marker_lints = '0.1.0'" === docs/internal/release.md ===