Skip to content

Commit e2b377c

Browse files
committed
Turn a comment that looks like a docstring into a docstring
1 parent 2fcf177 commit e2b377c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

compiler/rustc_hir_typeck/src/demand.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1110,10 +1110,10 @@ impl<'a, 'tcx> FnCtxt<'a, 'tcx> {
11101110
}
11111111
}
11121112

1113-
// Returns whether the given expression is a destruct assignment desugaring.
1114-
// For example, `(a, b) = (1, &2);`
1115-
// Here we try to find the pattern binding of the expression,
1116-
// `default_binding_modes` is false only for destruct assignment desugaring.
1113+
/// Returns whether the given expression is a destruct assignment desugaring.
1114+
/// For example, `(a, b) = (1, &2);`
1115+
/// Here we try to find the pattern binding of the expression,
1116+
/// `default_binding_modes` is false only for destruct assignment desugaring.
11171117
pub(crate) fn is_destruct_assignment_desugaring(&self, expr: &hir::Expr<'_>) -> bool {
11181118
if let hir::ExprKind::Path(hir::QPath::Resolved(
11191119
_,

0 commit comments

Comments
 (0)