Skip to content

Commit 2b2eff1

Browse files
committed
Fix tidy
1 parent b169cf1 commit 2b2eff1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/librustc_typeck/check/method/suggest.rs

+3-1
Original file line numberDiff line numberDiff line change
@@ -386,7 +386,9 @@ impl<'a, 'gcx, 'tcx> FnCtxt<'a, 'gcx, 'tcx> {
386386
if let Some(expr) = rcvr_expr {
387387
err.span_suggestion(expr.span.to(span),
388388
"use associated function syntax intead",
389-
format!("{}::{}", self.ty_to_string(actual), item_name));
389+
format!("{}::{}",
390+
self.ty_to_string(actual),
391+
item_name));
390392
} else {
391393
err.help(&format!("try with `{}::{}`",
392394
self.ty_to_string(actual), item_name));

0 commit comments

Comments
 (0)