mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 06:11:35 +00:00
better name
This commit is contained in:
parent
0dc186f612
commit
fa6f78c95b
2 changed files with 2 additions and 2 deletions
|
@ -74,7 +74,7 @@ impl Runnable {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn debugee(&self) -> bool {
|
pub fn can_debug(&self) -> bool {
|
||||||
matches!(
|
matches!(
|
||||||
&self.kind,
|
&self.kind,
|
||||||
RunnableKind::TestMod { .. }
|
RunnableKind::TestMod { .. }
|
||||||
|
|
|
@ -998,7 +998,7 @@ pub(crate) fn code_lens(
|
||||||
let annotation_range = range(&line_index, annotation.range);
|
let annotation_range = range(&line_index, annotation.range);
|
||||||
|
|
||||||
let title = run.title();
|
let title = run.title();
|
||||||
let can_debug = run.debugee();
|
let can_debug = run.can_debug();
|
||||||
let r = runnable(snap, run)?;
|
let r = runnable(snap, run)?;
|
||||||
|
|
||||||
let lens_config = snap.config.lens();
|
let lens_config = snap.config.lens();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue