mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-30 13:51:31 +00:00
Rename expr -> tail_expr
This commit is contained in:
parent
5c10f2f705
commit
f9707cde68
18 changed files with 34 additions and 29 deletions
|
@ -168,7 +168,7 @@ pub enum DisplayTarget {
|
|||
|
||||
impl DisplayTarget {
|
||||
fn is_source_code(&self) -> bool {
|
||||
matches!(self, Self::SourceCode {..})
|
||||
matches!(self, Self::SourceCode { .. })
|
||||
}
|
||||
fn is_test(&self) -> bool {
|
||||
matches!(self, Self::Test)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue