]> git.lizzy.rs Git - rust.git/blobdiff - src/librustdoc/html/render/write_shared.rs
Wrap non-pre code blocks
[rust.git] / src / librustdoc / html / render / write_shared.rs
index 501d8e8e02e8469d29183c0cf4b6eb9440415c52..dc967552116220f0df0ccc09ad97a2a353be675d 100644 (file)
@@ -430,7 +430,7 @@ struct Implementor {
                     None
                 } else {
                     Some(Implementor {
-                        text: imp.inner_impl().print(cx.cache(), false).to_string(),
+                        text: imp.inner_impl().print(cx.cache(), false, cx.tcx()).to_string(),
                         synthetic: imp.inner_impl().synthetic,
                         types: collect_paths_for_type(imp.inner_impl().for_.clone(), cx.cache()),
                     })