]> git.lizzy.rs Git - rust.git/blobdiff - src/librustdoc/clean/mod.rs
Rollup merge of #62904 - nikic:arm-d32, r=alexcrichton
[rust.git] / src / librustdoc / clean / mod.rs
index 72e6614dc06526b64391aaa9ade2349276838716..30419d3d3c6500ed48811b435e16cde515a4e91b 100644 (file)
@@ -1319,7 +1319,7 @@ fn clean(&self, cx: &DocContext<'_>) -> Option<Lifetime> {
             ty::ReEmpty |
             ty::ReClosureBound(_) |
             ty::ReErased => {
-                debug!("Cannot clean region {:?}", self);
+                debug!("cannot clean region {:?}", self);
                 None
             }
         }
@@ -4082,7 +4082,7 @@ fn to_src(&self, cx: &DocContext<'_>) -> String {
 
 fn name_from_pat(p: &hir::Pat) -> String {
     use rustc::hir::*;
-    debug!("Trying to get a name from pattern: {:?}", p);
+    debug!("trying to get a name from pattern: {:?}", p);
 
     match p.node {
         PatKind::Wild => "_".to_string(),