Report from_utf8
suggestion as maybe incorrect
Co-authored-by: Philipp Krones <hello@philkrones.com>
This commit is contained in:
parent
11045f94e2
commit
41ef4f729f
@ -45,7 +45,7 @@ pub(super) fn check<'tcx>(
|
||||
} else {
|
||||
format!("std::str::from_utf8{postfix}({snippet}).unwrap()")
|
||||
},
|
||||
Applicability::Unspecified,
|
||||
Applicability::MaybeIncorrect,
|
||||
);
|
||||
triggered = true;
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user