mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 14:21:44 +00:00
Add docs to make tidy tests happy :')
This commit is contained in:
parent
1c8bcf0d4e
commit
046a5679e3
9 changed files with 34 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
//! Implementation of "param name" inlay hints:
|
||||
//! ```no_run
|
||||
//! fn max(x: i32, y: i32) -> i32 { x + y }
|
||||
//! _ = max(/*x*/4, /*y*/4);
|
||||
//! ```
|
||||
use either::Either;
|
||||
use hir::{Callable, Semantics};
|
||||
use ide_db::{base_db::FileRange, RootDatabase};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue