Skip to content

Commit a9e6b12

Browse files
committed
fix: use correct lint name
fix
1 parent af62bf9 commit a9e6b12

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

book/src/lint_configuration.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ The minimum size (in bytes) to consider a type for passing by reference instead
291291

292292
**Default Value:** `256` (`u64`)
293293

294-
* [large_type_pass_by_move](https://rust-lang.github.io/rust-clippy/master/index.html#large_type_pass_by_move)
294+
* [large_types_passed_by_value](https://rust-lang.github.io/rust-clippy/master/index.html#large_types_passed_by_value)
295295

296296

297297
### too-many-lines-threshold

clippy_lints/src/utils/conf.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,7 @@ define_Conf! {
323323
///
324324
/// The maximum size (in bytes) to consider a `Copy` type for passing by value instead of by reference.
325325
(trivial_copy_size_limit: Option<u64> = None),
326-
/// Lint: LARGE_TYPE_PASS_BY_MOVE.
326+
/// Lint: LARGE_TYPES_PASSED_BY_VALUE.
327327
///
328328
/// The minimum size (in bytes) to consider a type for passing by reference instead of by value.
329329
(pass_by_value_size_limit: u64 = 256),

0 commit comments

Comments
 (0)