diff options
author | Aleksey Kladov <[email protected]> | 2019-07-20 10:58:27 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2019-07-20 10:58:27 +0100 |
commit | f3bdbec1b68fa0e20f0b7b6c6ef64e1507970b0d (patch) | |
tree | f2cb82f74d2d60d5351c3d7c4d8e7bce4d351cab /crates/ra_cli | |
parent | 6d5d82e412dea19ea48eecc6f7d5a4aa223a9599 (diff) |
rename range -> text_range
Diffstat (limited to 'crates/ra_cli')
-rw-r--r-- | crates/ra_cli/src/analysis_stats.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_cli/src/analysis_stats.rs b/crates/ra_cli/src/analysis_stats.rs index c2a2b66d5..403aab352 100644 --- a/crates/ra_cli/src/analysis_stats.rs +++ b/crates/ra_cli/src/analysis_stats.rs | |||
@@ -70,7 +70,7 @@ pub fn run(verbose: bool, memory_usage: bool, path: &Path, only: Option<&str>) - | |||
70 | let src = f.source(db); | 70 | let src = f.source(db); |
71 | let original_file = src.file_id.original_file(db); | 71 | let original_file = src.file_id.original_file(db); |
72 | let path = db.file_relative_path(original_file); | 72 | let path = db.file_relative_path(original_file); |
73 | let syntax_range = src.ast.syntax().range(); | 73 | let syntax_range = src.ast.syntax().text_range(); |
74 | write!(msg, " ({:?} {})", path, syntax_range).unwrap(); | 74 | write!(msg, " ({:?} {})", path, syntax_range).unwrap(); |
75 | } | 75 | } |
76 | bar.set_message(&msg); | 76 | bar.set_message(&msg); |