211 |
/// Try to shortern this node to be less than the given length.
|
212 |
#[allow(clippy::mem_replace_with_default)]
|
213 |
fn shorten(&mut self, len: usize) {
|
841 |
// Remove this when MSRV is >= 1.40
|
842 |
#[allow(clippy::mem_replace_with_default)]
|
843 |
fn new_tree(mut left: BinaryTree, mut right: BinaryTree) -> BinaryTree {
|
351 |
clippy::checked_conversions,
|
352 |
clippy::mem_replace_with_default,
|
353 |
// noisy
|
5 |
#![allow(clippy::unknown_clippy_lints)] // because of other #![allow]s
|
6 |
#![allow(clippy::mem_replace_with_default)] // needs rustc 1.40
|
7 |
#![allow(clippy::option_as_ref_deref)] // needs rustc 1.40
|
358 |
clippy::checked_conversions,
|
359 |
clippy::mem_replace_with_default,
|
360 |
// noisy
|
359 |
clippy::checked_conversions,
|
360 |
clippy::mem_replace_with_default,
|
361 |
// noisy
|
351 |
clippy::checked_conversions,
|
352 |
clippy::mem_replace_with_default,
|
353 |
// noisy
|
157 |
#![warn(clippy::multiple_crate_versions)]
|
158 |
#![allow(clippy::mem_replace_with_default)] // Not using std::mem::take() due to MSRV of 1.37 (intro'd in 1.40)
|
159 |
#![allow(clippy::match_like_matches_macro)] // Not using std::matches! due to MSRV of 1.37 (intro'd in 1.42)
|
4 |
#![allow(clippy::unknown_clippy_lints)] // because of other #![allow]s
|
5 |
#![allow(clippy::mem_replace_with_default)] // needs rustc 1.40
|
6 |
#![allow(clippy::option_as_ref_deref)] // needs rustc 1.40
|
157 |
#![warn(clippy::multiple_crate_versions)]
|
158 |
#![allow(clippy::mem_replace_with_default)] // Not using std::mem::take() due to MSRV of 1.37 (intro'd in 1.40)
|
159 |
#![allow(clippy::match_like_matches_macro)] // Not using std::matches! due to MSRV of 1.37 (intro'd in 1.42)
|