]> git.lizzy.rs Git - rust.git/blobdiff - src/librustdoc/html/static/css/rustdoc.css
Auto merge of #107650 - compiler-errors:rollup-4pntchf, r=compiler-errors
[rust.git] / src / librustdoc / html / static / css / rustdoc.css
index ee988090ca334e9ed2ea02dfebd308b43b113d5a..a1e91118303c23ee77ef77f61f183de22226d5e1 100644 (file)
@@ -184,6 +184,7 @@ h4.code-header {
        font-weight: 600;
        margin: 0;
        padding: 0;
+       white-space: pre-wrap;
 }
 
 #crate-search,
@@ -642,6 +643,7 @@ pre, .rustdoc.source .example-wrap {
 .fn .where,
 .where.fmt-newline {
        display: block;
+       white-space: pre-wrap;
        font-size: 0.875rem;
 }