Skip to content

Commit 857d9f1

Browse files
committed
Fix error punctuation
1 parent 1e22e56 commit 857d9f1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

clippy_lints/src/utils/conf.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ define_Conf! {
102102
/// Lint: COGNITIVE_COMPLEXITY. The maximum cognitive complexity a function can have
103103
(cognitive_complexity_threshold: u64 = 25),
104104
/// DEPRECATED LINT: CYCLOMATIC_COMPLEXITY. Use the Cognitive Complexity lint instead.
105-
#[conf_deprecated("Please use `cognitive-complexity-threshold` instead.")]
105+
#[conf_deprecated("Please use `cognitive-complexity-threshold` instead")]
106106
(cyclomatic_complexity_threshold: Option<u64>),
107107
/// Lint: DOC_MARKDOWN. The list of words this lint should not consider as identifiers needing ticks
108108
(doc_valid_idents: Vec<String> = [
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
error: error reading Clippy's configuration file `$DIR/clippy.toml`: deprecated field `cyclomatic-complexity-threshold`. Please use `cognitive-complexity-threshold` instead.
1+
error: error reading Clippy's configuration file `$DIR/clippy.toml`: deprecated field `cyclomatic-complexity-threshold`. Please use `cognitive-complexity-threshold` instead
22

33
error: aborting due to previous error
44

0 commit comments

Comments
 (0)