Skip to content

Commit

Permalink
Fix dead_code warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
gwenn committed May 28, 2024
1 parent beaa717 commit 64fac07
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/keymap.rs
Original file line number Diff line number Diff line change
Expand Up @@ -389,10 +389,12 @@ pub trait Refresher {
/// Returns `true` if there is a hint displayed.
fn has_hint(&self) -> bool;
/// Returns the hint text that is shown after the current cursor position.
#[cfg_attr(not(feature = "custom-bindings"), allow(dead_code))]
fn hint_text(&self) -> Option<&str>;
/// currently edited line
fn line(&self) -> &str;
/// Current cursor position (byte position)
#[cfg_attr(not(feature = "custom-bindings"), allow(dead_code))]
fn pos(&self) -> usize;
/// Display `msg` above currently edited line.
fn external_print(&mut self, msg: String) -> Result<()>;
Expand Down

0 comments on commit 64fac07

Please sign in to comment.