Report from_utf8 suggestion as maybe incorrect
Co-authored-by: Philipp Krones <hello@philkrones.com>
This commit is contained in:
parent
11045f94e2
commit
41ef4f729f
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue