Skip to content

Commit 68df61e

Browse files
committed
remove todo
1 parent 9fd34e0 commit 68df61e

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

clippy_utils/src/source.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,6 @@ pub fn expr_block<T: LintContext>(
7373
let (code, from_macro) = snippet_block_with_context(cx, expr.span, outer, default, indent_relative_to, app);
7474
if !from_macro &&
7575
let ExprKind::Block(block, _) = expr.kind &&
76-
// TODO: Is this enough UnsafeSource::UserProvided, or should CompilerGenerated be also included?
7776
block.rules != BlockCheckMode::UnsafeBlock(UnsafeSource::UserProvided)
7877
{
7978
format!("{code}")

0 commit comments

Comments
 (0)