mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-11-01 12:24:29 +00:00
fix doc tests
This commit is contained in:
parent
bd7375a58f
commit
b19ef6b046
37 changed files with 75 additions and 61 deletions
|
|
@ -5,7 +5,7 @@
|
|||
//!
|
||||
//! This module solves the following problem:
|
||||
//!
|
||||
//! Given a piece of syntax, find the corresponding semantic definition (def).
|
||||
//! > Given a piece of syntax, find the corresponding semantic definition (def).
|
||||
//!
|
||||
//! This problem is a part of more-or-less every IDE feature implemented. Every
|
||||
//! IDE functionality (like goto to definition), conceptually starts with a
|
||||
|
|
|
|||
|
|
@ -40,7 +40,7 @@ fn mod_item_path_str(
|
|||
/// Type tree shows how can we get from set of types to some type.
|
||||
///
|
||||
/// Consider the following code as an example
|
||||
/// ```
|
||||
/// ```ignore
|
||||
/// fn foo(x: i32, y: bool) -> Option<i32> { None }
|
||||
/// fn bar() {
|
||||
/// let a = 1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue