From 23abd182d8bdcc82662f6cd5ba6c0c8ab61cce82 Mon Sep 17 00:00:00 2001 From: Guillaume Gomez Date: Sun, 2 Dec 2018 19:12:37 +0100 Subject: [PATCH] Fix invalid line number match --- src/librustdoc/html/static/rustdoc.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/librustdoc/html/static/rustdoc.css b/src/librustdoc/html/static/rustdoc.css index 1ae3b0b88c6dd..e39064b191a77 100644 --- a/src/librustdoc/html/static/rustdoc.css +++ b/src/librustdoc/html/static/rustdoc.css @@ -134,7 +134,6 @@ summary { code, pre { font-family: "Source Code Pro", monospace; - white-space: pre-wrap; } .docblock code, .docblock-short code { border-radius: 3px; @@ -301,6 +300,7 @@ body:not(.source) .example-wrap { body:not(.source) .example-wrap > pre.rust { width: 100%; + overflow-x: auto; } #search {