mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 04:44:57 +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
|
@ -26,7 +26,7 @@ pub trait HasSource {
|
|||
///
|
||||
/// The current some implementations can return `InFile` instead of `Option<InFile>`.
|
||||
/// But we made this method `Option` to support rlib in the future
|
||||
/// by https://github.com/rust-lang/rust-analyzer/issues/6913
|
||||
/// by <https://github.com/rust-lang/rust-analyzer/issues/6913>
|
||||
fn source(self, db: &dyn HirDatabase) -> Option<InFile<Self::Ast>>;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue