mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-02 06:41:48 +00:00
internal: Fix rustdoc warnings
`cargo doc` generates a bunch of warnings on rust-analyzer. Fix all the bare URL and empty code block warnings.
This commit is contained in:
parent
e059feadef
commit
d68e549205
15 changed files with 33 additions and 32 deletions
|
@ -503,11 +503,11 @@ impl BindingAnnotation {
|
|||
|
||||
#[derive(Debug, Clone, Eq, PartialEq)]
|
||||
pub enum BindingProblems {
|
||||
/// https://doc.rust-lang.org/stable/error_codes/E0416.html
|
||||
/// <https://doc.rust-lang.org/stable/error_codes/E0416.html>
|
||||
BoundMoreThanOnce,
|
||||
/// https://doc.rust-lang.org/stable/error_codes/E0409.html
|
||||
/// <https://doc.rust-lang.org/stable/error_codes/E0409.html>
|
||||
BoundInconsistently,
|
||||
/// https://doc.rust-lang.org/stable/error_codes/E0408.html
|
||||
/// <https://doc.rust-lang.org/stable/error_codes/E0408.html>
|
||||
NotBoundAcrossAll,
|
||||
}
|
||||
|
||||
|
|
|
@ -16,8 +16,8 @@
|
|||
//!
|
||||
//! This happens in the `raw` module, which parses a single source file into a
|
||||
//! set of top-level items. Nested imports are desugared to flat imports in this
|
||||
//! phase. Macro calls are represented as a triple of (Path, Option<Name>,
|
||||
//! TokenTree).
|
||||
//! phase. Macro calls are represented as a triple of `(Path, Option<Name>,
|
||||
//! TokenTree)`.
|
||||
//!
|
||||
//! ## Collecting Modules
|
||||
//!
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue