Skip to content

Commit f2d6413

Browse files
committed
comment -> doc comment
1 parent a605441 commit f2d6413

File tree

1 file changed

+3
-3
lines changed
  • src/librustc_typeck/check

1 file changed

+3
-3
lines changed

src/librustc_typeck/check/mod.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -5351,9 +5351,9 @@ impl<'a, 'tcx> FnCtxt<'a, 'tcx> {
53515351
directly, not through a function pointer");
53525352
}
53535353

5354-
// Resolves `typ` by a single level if `typ` is a type variable.
5355-
// If no resolution is possible, then an error is reported.
5356-
// Numeric inference variables may be left unresolved.
5354+
/// Resolves `typ` by a single level if `typ` is a type variable.
5355+
/// If no resolution is possible, then an error is reported.
5356+
/// Numeric inference variables may be left unresolved.
53575357
pub fn structurally_resolved_type(&self, sp: Span, ty: Ty<'tcx>) -> Ty<'tcx> {
53585358
let ty = self.resolve_vars_with_obligations(ty);
53595359
if !ty.is_ty_var() {

0 commit comments

Comments
 (0)