Skip to content

Commit 23a7f99

Browse files
committed
Merge remote-tracking branch 'origin/master' into nix-0.29
2 parents 6e37627 + a00e67b commit 23a7f99

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/keymap.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -389,10 +389,12 @@ pub trait Refresher {
389389
/// Returns `true` if there is a hint displayed.
390390
fn has_hint(&self) -> bool;
391391
/// Returns the hint text that is shown after the current cursor position.
392+
#[cfg_attr(not(feature = "custom-bindings"), allow(dead_code))]
392393
fn hint_text(&self) -> Option<&str>;
393394
/// currently edited line
394395
fn line(&self) -> &str;
395396
/// Current cursor position (byte position)
397+
#[cfg_attr(not(feature = "custom-bindings"), allow(dead_code))]
396398
fn pos(&self) -> usize;
397399
/// Display `msg` above currently edited line.
398400
fn external_print(&mut self, msg: String) -> Result<()>;

0 commit comments

Comments
 (0)