From e73128ed21adc2329bbec208cbf620c839eb190a Mon Sep 17 00:00:00 2001 From: hi-rustin Date: Mon, 21 Mar 2022 22:14:23 +0800 Subject: [PATCH 1/2] Add a link to the document in the timings report Signed-off-by: hi-rustin --- src/cargo/core/compiler/timings.rs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/cargo/core/compiler/timings.rs b/src/cargo/core/compiler/timings.rs index 9242af9d83c..575028d9fee 100644 --- a/src/cargo/core/compiler/timings.rs +++ b/src/cargo/core/compiler/timings.rs @@ -642,6 +642,10 @@ h1 { border-bottom: 1px solid #c0c0c0; } +h1 > a { + font-size: 14px; +} + .graph { display: block; } @@ -732,7 +736,7 @@ h1 { -

Cargo Build Timings

+

Cargo Build Timings Documentation

"#; static HTML_CANVAS: &str = r#" From 4a12569d952110f98ef7b3bd0a4ea6a343c00a58 Mon Sep 17 00:00:00 2001 From: hi-rustin Date: Wed, 13 Apr 2022 20:33:48 +0800 Subject: [PATCH 2/2] Switch to the next line Signed-off-by: hi-rustin --- src/cargo/core/compiler/timings.rs | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/cargo/core/compiler/timings.rs b/src/cargo/core/compiler/timings.rs index 575028d9fee..2ec8ca00e71 100644 --- a/src/cargo/core/compiler/timings.rs +++ b/src/cargo/core/compiler/timings.rs @@ -642,10 +642,6 @@ h1 { border-bottom: 1px solid #c0c0c0; } -h1 > a { - font-size: 14px; -} - .graph { display: block; } @@ -736,7 +732,8 @@ h1 > a { -

Cargo Build Timings Documentation

+

Cargo Build Timings

+See Documentation "#; static HTML_CANVAS: &str = r#"