clippy::useless_format
This commit is contained in:
parent
d0a8a12dc6
commit
3fd8cbb404
14 changed files with 17 additions and 17 deletions
|
@ -342,7 +342,7 @@ impl<'a, 'tcx> FnCtxt<'a, 'tcx> {
|
|||
if let Ok(expr_text) = self.sess().source_map().span_to_snippet(expr.span) {
|
||||
(expr_text, true)
|
||||
} else {
|
||||
(format!("(..)"), false)
|
||||
("(..)".to_string(), false)
|
||||
};
|
||||
|
||||
let adjusted_text = if let Some(probe::AutorefOrPtrAdjustment::ToConstPtr) =
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue