From 20b325c7d50092cada3408aee958b3d523541f2c Mon Sep 17 00:00:00 2001 From: Jade Date: Sun, 13 Jun 2021 21:57:10 -0700 Subject: tree-wide: make rustdoc links spiky so they are clickable --- crates/profile/src/lib.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'crates/profile') diff --git a/crates/profile/src/lib.rs b/crates/profile/src/lib.rs index 7cd01a7df..5ea5039db 100644 --- a/crates/profile/src/lib.rs +++ b/crates/profile/src/lib.rs @@ -50,10 +50,10 @@ impl Drop for Scope { /// A wrapper around google_cpu_profiler. /// /// Usage: -/// 1. Install gpref_tools (https://github.com/gperftools/gperftools), probably packaged with your Linux distro. +/// 1. Install gpref_tools (), probably packaged with your Linux distro. /// 2. Build with `cpu_profiler` feature. /// 3. Run the code, the *raw* output would be in the `./out.profile` file. -/// 4. Install pprof for visualization (https://github.com/google/pprof). +/// 4. Install pprof for visualization (). /// 5. Bump sampling frequency to once per ms: `export CPUPROFILE_FREQUENCY=1000` /// 6. Use something like `pprof -svg target/release/rust-analyzer ./out.profile` to see the results. /// @@ -75,7 +75,7 @@ impl Drop for Scope { /// /// See this diff for how to profile completions: /// -/// https://github.com/rust-analyzer/rust-analyzer/pull/5306 +/// #[derive(Debug)] pub struct CpuSpan { _private: (), -- cgit v1.2.3