From acbd41601fc53ad821b7adb00803120a01ddc0d1 Mon Sep 17 00:00:00 2001 From: Jacob Hoffman-Andrews Date: Wed, 28 Sep 2022 22:45:29 -0700 Subject: [PATCH 1/2] Update comment about buggy static file serving --- src/web/mod.rs | 43 +++++++++++++++++++++++++++++++++---------- 1 file changed, 33 insertions(+), 10 deletions(-) diff --git a/src/web/mod.rs b/src/web/mod.rs index 5d709c472..21437834b 100644 --- a/src/web/mod.rs +++ b/src/web/mod.rs @@ -163,19 +163,42 @@ impl Handler for MainHandler { } } - // This is kind of a mess. + // Some versions of rustdoc in 2018 did not respect the shared static root + // (--static-root-path) and so emitted HTML that linked to shared static files via a local + // path. For instance, `