fix: use correct lint name
fix
This commit is contained in:
parent
af62bf95a3
commit
a9e6b12854
@ -291,7 +291,7 @@ The minimum size (in bytes) to consider a type for passing by reference instead
|
|||||||
|
|
||||||
**Default Value:** `256` (`u64`)
|
**Default Value:** `256` (`u64`)
|
||||||
|
|
||||||
* [large_type_pass_by_move](https://rust-lang.github.io/rust-clippy/master/index.html#large_type_pass_by_move)
|
* [large_types_passed_by_value](https://rust-lang.github.io/rust-clippy/master/index.html#large_types_passed_by_value)
|
||||||
|
|
||||||
|
|
||||||
### too-many-lines-threshold
|
### too-many-lines-threshold
|
||||||
|
@ -323,7 +323,7 @@ pub(crate) fn get_configuration_metadata() -> Vec<ClippyConfiguration> {
|
|||||||
///
|
///
|
||||||
/// The maximum size (in bytes) to consider a `Copy` type for passing by value instead of by reference.
|
/// The maximum size (in bytes) to consider a `Copy` type for passing by value instead of by reference.
|
||||||
(trivial_copy_size_limit: Option<u64> = None),
|
(trivial_copy_size_limit: Option<u64> = None),
|
||||||
/// Lint: LARGE_TYPE_PASS_BY_MOVE.
|
/// Lint: LARGE_TYPES_PASSED_BY_VALUE.
|
||||||
///
|
///
|
||||||
/// The minimum size (in bytes) to consider a type for passing by reference instead of by value.
|
/// The minimum size (in bytes) to consider a type for passing by reference instead of by value.
|
||||||
(pass_by_value_size_limit: u64 = 256),
|
(pass_by_value_size_limit: u64 = 256),
|
||||||
|
Loading…
Reference in New Issue
Block a user