about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2019-12-15 13:13:52 +0100
committerMazdak Farrokhzad <twingoow@gmail.com>2019-12-15 13:13:52 +0100
commitf2d6413eb276caa4d881da1aad759b02a64c6aea (patch)
tree56e634ab98801b93e2cdf9745173e6989d598062 /src
parenta605441e049f0b6d5f7715b94b8ac4662fd7fcf6 (diff)
downloadrust-f2d6413eb276caa4d881da1aad759b02a64c6aea.tar.gz
rust-f2d6413eb276caa4d881da1aad759b02a64c6aea.zip
comment -> doc comment
Diffstat (limited to 'src')
-rw-r--r--src/librustc_typeck/check/mod.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/librustc_typeck/check/mod.rs b/src/librustc_typeck/check/mod.rs
index 43e7bbcf0c0..65a5405c037 100644
--- a/src/librustc_typeck/check/mod.rs
+++ b/src/librustc_typeck/check/mod.rs
@@ -5351,9 +5351,9 @@ impl<'a, 'tcx> FnCtxt<'a, 'tcx> {
                                       directly, not through a function pointer");
     }
 
-    // Resolves `typ` by a single level if `typ` is a type variable.
-    // If no resolution is possible, then an error is reported.
-    // Numeric inference variables may be left unresolved.
+    /// Resolves `typ` by a single level if `typ` is a type variable.
+    /// If no resolution is possible, then an error is reported.
+    /// Numeric inference variables may be left unresolved.
     pub fn structurally_resolved_type(&self, sp: Span, ty: Ty<'tcx>) -> Ty<'tcx> {
         let ty = self.resolve_vars_with_obligations(ty);
         if !ty.is_ty_var() {