Skip to content

Commit fa6f78c

Browse files
committed
better name
1 parent 0dc186f commit fa6f78c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

crates/ide/src/runnables.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ impl Runnable {
7474
}
7575
}
7676

77-
pub fn debugee(&self) -> bool {
77+
pub fn can_debug(&self) -> bool {
7878
matches!(
7979
&self.kind,
8080
RunnableKind::TestMod { .. }

crates/rust-analyzer/src/to_proto.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -998,7 +998,7 @@ pub(crate) fn code_lens(
998998
let annotation_range = range(&line_index, annotation.range);
999999

10001000
let title = run.title();
1001-
let can_debug = run.debugee();
1001+
let can_debug = run.can_debug();
10021002
let r = runnable(snap, run)?;
10031003

10041004
let lens_config = snap.config.lens();

0 commit comments

Comments
 (0)