diff --git a/src/librustdoc/html/static/main.js b/src/librustdoc/html/static/main.js
index 88c25567d2963..51ed626782926 100644
--- a/src/librustdoc/html/static/main.js
+++ b/src/librustdoc/html/static/main.js
@@ -242,6 +242,7 @@
}
}
+ highlightSourceLines(null);
window.onhashchange = highlightSourceLines;
// Gets the human-readable string for the virtual-key code of the
diff --git a/src/librustdoc/html/static/rustdoc.css b/src/librustdoc/html/static/rustdoc.css
index ffe6a40b36998..870b024a3ba00 100644
--- a/src/librustdoc/html/static/rustdoc.css
+++ b/src/librustdoc/html/static/rustdoc.css
@@ -502,6 +502,7 @@ h4 > code, h3 > code, .invisible > code {
margin-left: 33px;
margin-top: -13px;
}
+
.content .stability::before {
content: '˪';
font-size: 30px;
@@ -510,6 +511,10 @@ h4 > code, h3 > code, .invisible > code {
left: -13px;
}
+#main > .stability {
+ margin-top: 0;
+}
+
nav {
border-bottom: 1px solid;
padding-bottom: 10px;