Skip to content

Commit b6ac4f4

Browse files
committed
cargo dev fmt
1 parent 966476b commit b6ac4f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clippy_lints/src/pathbuf_init_then_push.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ struct PathbufPushSearcher<'tcx> {
6060

6161
impl<'tcx> PathbufPushSearcher<'tcx> {
6262
/// Try to generate a suggestion with `PathBuf::from`.
63-
/// Returns `None` if the suggestion would be invalid.
63+
/// Returns `None` if the suggestion would be invalid.
6464
fn gen_pathbuf_from(&self, cx: &LateContext<'_>) -> Option<String> {
6565
if let ExprKind::Call(iter_expr, []) = &self.init_val.kind
6666
&& let ExprKind::Path(QPath::TypeRelative(ty, segment)) = &iter_expr.kind

0 commit comments

Comments
 (0)