Skip to content

Commit 29f829f

Browse files
authored
Merge pull request #20 from getsentry/fix-clippy
fix: Rename cyclomatic_complexity to cognitive_complexity.
2 parents 806574e + ff8d975 commit 29f829f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sourceview.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,7 @@ impl<'a> SourceView<'a> {
323323
}
324324

325325
#[test]
326-
#[allow(clippy::cyclomatic_complexity)]
326+
#[allow(clippy::cognitive_complexity)]
327327
fn test_minified_source_view() {
328328
let view = SourceView::new("a\nb\nc");
329329
assert_eq!(view.get_line(0), Some("a"));

0 commit comments

Comments
 (0)