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/proc_macro_srv/src/lib.rs | 2 +- crates/proc_macro_srv/src/proc_macro/bridge/buffer.rs | 2 +- crates/proc_macro_srv/src/proc_macro/bridge/client.rs | 2 +- crates/proc_macro_srv/src/proc_macro/bridge/closure.rs | 2 +- crates/proc_macro_srv/src/proc_macro/bridge/handle.rs | 2 +- crates/proc_macro_srv/src/proc_macro/bridge/mod.rs | 2 +- crates/proc_macro_srv/src/proc_macro/bridge/rpc.rs | 2 +- crates/proc_macro_srv/src/proc_macro/bridge/scoped_cell.rs | 2 +- crates/proc_macro_srv/src/proc_macro/bridge/server.rs | 2 +- crates/proc_macro_srv/src/proc_macro/diagnostic.rs | 2 +- crates/proc_macro_srv/src/proc_macro/mod.rs | 2 +- crates/proc_macro_srv/src/rustc_server.rs | 2 +- 12 files changed, 12 insertions(+), 12 deletions(-) (limited to 'crates/proc_macro_srv') diff --git a/crates/proc_macro_srv/src/lib.rs b/crates/proc_macro_srv/src/lib.rs index d4f04ee06..f54cbcd61 100644 --- a/crates/proc_macro_srv/src/lib.rs +++ b/crates/proc_macro_srv/src/lib.rs @@ -1,7 +1,7 @@ //! RA Proc Macro Server //! //! This library is able to call compiled Rust custom derive dynamic libraries on arbitrary code. -//! The general idea here is based on https://github.com/fedochet/rust-proc-macro-expander. +//! The general idea here is based on . //! //! But we adapt it to better fit RA needs: //! diff --git a/crates/proc_macro_srv/src/proc_macro/bridge/buffer.rs b/crates/proc_macro_srv/src/proc_macro/bridge/buffer.rs index dae6ff1d1..3b2afe01f 100644 --- a/crates/proc_macro_srv/src/proc_macro/bridge/buffer.rs +++ b/crates/proc_macro_srv/src/proc_macro/bridge/buffer.rs @@ -1,6 +1,6 @@ //! lib-proc-macro Buffer management for same-process client<->server communication. //! -//! Copy from https://github.com/rust-lang/rust/blob/6050e523bae6de61de4e060facc43dc512adaccd/src/libproc_macro/bridge/buffer.rs +//! Copy from //! augmented with removing unstable features use std::io::{self, Write}; diff --git a/crates/proc_macro_srv/src/proc_macro/bridge/client.rs b/crates/proc_macro_srv/src/proc_macro/bridge/client.rs index b036d4e20..c135cf7a2 100644 --- a/crates/proc_macro_srv/src/proc_macro/bridge/client.rs +++ b/crates/proc_macro_srv/src/proc_macro/bridge/client.rs @@ -1,6 +1,6 @@ //! lib-proc-macro Client-side types. //! -//! Copy from https://github.com/rust-lang/rust/blob/6050e523bae6de61de4e060facc43dc512adaccd/src/libproc_macro/bridge/client.rs +//! Copy from //! augmented with removing unstable features use super::*; diff --git a/crates/proc_macro_srv/src/proc_macro/bridge/closure.rs b/crates/proc_macro_srv/src/proc_macro/bridge/closure.rs index 273a97715..f5b6d897e 100644 --- a/crates/proc_macro_srv/src/proc_macro/bridge/closure.rs +++ b/crates/proc_macro_srv/src/proc_macro/bridge/closure.rs @@ -1,6 +1,6 @@ //! lib-proc-macro Closure type (equivalent to `&mut dyn FnMut(A) -> R`) that's `repr(C)`. //! -//! Copy from https://github.com/rust-lang/rust/blob/6050e523bae6de61de4e060facc43dc512adaccd/src/libproc_macro/bridge/closure.rs# +//! Copy from //! augmented with removing unstable features #[repr(C)] diff --git a/crates/proc_macro_srv/src/proc_macro/bridge/handle.rs b/crates/proc_macro_srv/src/proc_macro/bridge/handle.rs index a2f77b5ac..d2a65d249 100644 --- a/crates/proc_macro_srv/src/proc_macro/bridge/handle.rs +++ b/crates/proc_macro_srv/src/proc_macro/bridge/handle.rs @@ -1,6 +1,6 @@ //! lib-proc-macro Server-side handles and storage for per-handle data. //! -//! Copy from https://github.com/rust-lang/rust/blob/6050e523bae6de61de4e060facc43dc512adaccd/src/libproc_macro/bridge/handle.rs +//! Copy from //! augmented with removing unstable features use std::collections::{BTreeMap, HashMap}; diff --git a/crates/proc_macro_srv/src/proc_macro/bridge/mod.rs b/crates/proc_macro_srv/src/proc_macro/bridge/mod.rs index e67902682..375396d1b 100644 --- a/crates/proc_macro_srv/src/proc_macro/bridge/mod.rs +++ b/crates/proc_macro_srv/src/proc_macro/bridge/mod.rs @@ -1,6 +1,6 @@ //! lib-proc-macro Internal interface for communicating between a `proc_macro` client //! -//! Copy from https://github.com/rust-lang/rust/blob/6050e523bae6de61de4e060facc43dc512adaccd/src/libproc_macro/bridge/mod.rs +//! Copy from //! augmented with removing unstable features //! //! Internal interface for communicating between a `proc_macro` client diff --git a/crates/proc_macro_srv/src/proc_macro/bridge/rpc.rs b/crates/proc_macro_srv/src/proc_macro/bridge/rpc.rs index bd1e7c2fc..69928ec84 100644 --- a/crates/proc_macro_srv/src/proc_macro/bridge/rpc.rs +++ b/crates/proc_macro_srv/src/proc_macro/bridge/rpc.rs @@ -1,6 +1,6 @@ //! lib-proc-macro Serialization for client-server communication. //! -//! Copy from https://github.com/rust-lang/rust/blob/6050e523bae6de61de4e060facc43dc512adaccd/src/libproc_macro/bridge/rpc.rs +//! Copy from //! augmented with removing unstable features //! //! Serialization for client-server communication. diff --git a/crates/proc_macro_srv/src/proc_macro/bridge/scoped_cell.rs b/crates/proc_macro_srv/src/proc_macro/bridge/scoped_cell.rs index 6ef7ea43c..0436bc418 100644 --- a/crates/proc_macro_srv/src/proc_macro/bridge/scoped_cell.rs +++ b/crates/proc_macro_srv/src/proc_macro/bridge/scoped_cell.rs @@ -1,6 +1,6 @@ //! lib-proc-macro `Cell` variant for (scoped) existential lifetimes. //! -//! Copy from https://github.com/rust-lang/rust/blob/6050e523bae6de61de4e060facc43dc512adaccd/src/libproc_macro/bridge/scoped_cell.rs#L1 +//! Copy from //! augmented with removing unstable features use std::cell::Cell; diff --git a/crates/proc_macro_srv/src/proc_macro/bridge/server.rs b/crates/proc_macro_srv/src/proc_macro/bridge/server.rs index 88fbdc078..cc9afd84b 100644 --- a/crates/proc_macro_srv/src/proc_macro/bridge/server.rs +++ b/crates/proc_macro_srv/src/proc_macro/bridge/server.rs @@ -1,6 +1,6 @@ //! lib-proc-macro server-side traits //! -//! Copy from https://github.com/rust-lang/rust/blob/6050e523bae6de61de4e060facc43dc512adaccd/src/libproc_macro/bridge/server.rs +//! Copy from //! augmented with removing unstable features use super::*; diff --git a/crates/proc_macro_srv/src/proc_macro/diagnostic.rs b/crates/proc_macro_srv/src/proc_macro/diagnostic.rs index 55d93917c..331e23829 100644 --- a/crates/proc_macro_srv/src/proc_macro/diagnostic.rs +++ b/crates/proc_macro_srv/src/proc_macro/diagnostic.rs @@ -1,6 +1,6 @@ //! lib-proc-macro diagnostic //! -//! Copy from https://github.com/rust-lang/rust/blob/6050e523bae6de61de4e060facc43dc512adaccd/src/libproc_macro/diagnostic.rs +//! Copy from //! augmented with removing unstable features use crate::proc_macro::Span; diff --git a/crates/proc_macro_srv/src/proc_macro/mod.rs b/crates/proc_macro_srv/src/proc_macro/mod.rs index fc6e7344f..b7c1d04b5 100644 --- a/crates/proc_macro_srv/src/proc_macro/mod.rs +++ b/crates/proc_macro_srv/src/proc_macro/mod.rs @@ -1,6 +1,6 @@ //! lib-proc-macro main module //! -//! Copy from https://github.com/rust-lang/rust/blob/6050e523bae6de61de4e060facc43dc512adaccd/src/libproc_macro/lib.rs +//! Copy from //! augmented with removing unstable features // NOTE(@edwin0cheng): diff --git a/crates/proc_macro_srv/src/rustc_server.rs b/crates/proc_macro_srv/src/rustc_server.rs index 5d765f6e2..fa28bc460 100644 --- a/crates/proc_macro_srv/src/rustc_server.rs +++ b/crates/proc_macro_srv/src/rustc_server.rs @@ -1,6 +1,6 @@ //! Rustc proc-macro server implementation with tt //! -//! Based on idea from https://github.com/fedochet/rust-proc-macro-expander +//! Based on idea from //! The lib-proc-macro server backend is `TokenStream`-agnostic, such that //! we could provide any TokenStream implementation. //! The original idea from fedochet is using proc-macro2 as backend, -- cgit v1.2.3