mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-02 22:54:58 +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
|
@ -143,14 +143,14 @@ pub struct FixtureWithProjectMeta {
|
|||
/// Specifies LLVM data layout to be used.
|
||||
///
|
||||
/// You probably don't want to manually specify this. See LLVM manual for the
|
||||
/// syntax, if you must: https://llvm.org/docs/LangRef.html#data-layout
|
||||
/// syntax, if you must: <https://llvm.org/docs/LangRef.html#data-layout>
|
||||
pub target_data_layout: String,
|
||||
}
|
||||
|
||||
impl FixtureWithProjectMeta {
|
||||
/// Parses text which looks like this:
|
||||
///
|
||||
/// ```not_rust
|
||||
/// ```text
|
||||
/// //- some meta
|
||||
/// line 1
|
||||
/// line 2
|
||||
|
@ -159,7 +159,7 @@ impl FixtureWithProjectMeta {
|
|||
///
|
||||
/// Fixture can also start with a proc_macros and minicore declaration (in that order):
|
||||
///
|
||||
/// ```
|
||||
/// ```text
|
||||
/// //- toolchain: nightly
|
||||
/// //- proc_macros: identity
|
||||
/// //- minicore: sized
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue