Skip to content

Commit d2c1c4b

Browse files
committed
clippy lint book remove duplication
1 parent f6ce62a commit d2c1c4b

File tree

2 files changed

+0
-8
lines changed

2 files changed

+0
-8
lines changed

book/src/lint_configuration.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -835,8 +835,6 @@ if no suggestion can be made.
835835
List of full paths of macros and functions, that can fail. If a test, or a function
836836
that the test calls contains a call to any one of these, lint will mark the test fallible.
837837

838-
By default this macros are defined as `assert!`, `assert_eq!`, `panic!`.
839-
840838
**Default Value:** `["core::panic", "core::assert", "core::assert_eq", "core::assert_ne"]`
841839

842840
---
@@ -872,8 +870,6 @@ List of full paths of macros and functions, that we want to mark as "not going t
872870
This allows us to make the lint more focused on actual short comings of our test suite
873871
by marking common routines non-fallible, even though they are fallible.
874872

875-
By default this list contains: `println!`, `print!`, `dbg!`.
876-
877873
**Default Value:** `["std::print", "std::println", "std::dbg", "std::eprint", "std::eprintln"]`
878874

879875
---

clippy_config/src/conf.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -636,8 +636,6 @@ define_Conf! {
636636
suppress_restriction_lint_in_const: bool = false,
637637
/// List of full paths of macros and functions, that can fail. If a test, or a function
638638
/// that the test calls contains a call to any one of these, lint will mark the test fallible.
639-
///
640-
/// By default this macros are defined as `assert!`, `assert_eq!`, `panic!`.
641639
#[lints(test_without_fail_case)]
642640
test_without_fail_case_fallible_paths: Vec<String> =
643641
DEFAULT_FALLIBLE_PATHS.iter().map(ToString::to_string).collect(),
@@ -660,8 +658,6 @@ define_Conf! {
660658
/// List of full paths of macros and functions, that we want to mark as "not going to fail".
661659
/// This allows us to make the lint more focused on actual short comings of our test suite
662660
/// by marking common routines non-fallible, even though they are fallible.
663-
///
664-
/// By default this list contains: `println!`, `print!`, `dbg!`.
665661
#[lints(test_without_fail_case)]
666662
test_without_fail_case_non_fallible_paths: Vec<String> =
667663
DEFAULT_NONFALLIBLE_PATHS.iter().map(ToString::to_string).collect(),

0 commit comments

Comments
 (0)