]> git.lizzy.rs Git - rust.git/blobdiff - src/librustc_typeck/astconv.rs
Code review changes and fix rustdoc test.
[rust.git] / src / librustc_typeck / astconv.rs
index 920ffaa4c3a0b04e9604d78f7055652689265297..a3be264ddc12837e222c0287fe6c0c9698e5d147 100644 (file)
@@ -1,4 +1,4 @@
-// ignore-tidy-filelength FIXME(#67418) Split up this file
+// ignore-tidy-filelength FIXME(#67418) Split up this file.
 //! Conversion from AST representation of types to the `ty.rs` representation.
 //! The main routine here is `ast_ty_to_ty()`; each use is parameterized by an
 //! instance of `AstConv`.
@@ -2716,7 +2716,7 @@ pub fn ast_const_to_const(
 
         if let Some(lit_input) = lit_input {
             // If an error occurred, ignore that it's a literal and leave reporting the error up to
-            // mir
+            // mir.
             if let Ok(c) = tcx.at(expr.span).lit_to_const(lit_input) {
                 return c;
             }