Skip to content

Commit a9061bb

Browse files
committed
Fix super import
1 parent e5e251e commit a9061bb

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

vm/src/readline.rs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ mod rustyline_readline {
125125

126126
#[cfg(test)]
127127
mod test_rusty_readline {
128-
use super::*;
128+
use super::{Readline};
129129
use rustyline::{completion::Completer, highlight::Highlighter,
130130
validate::Validator, Context, hint::Hinter};
131131
use rustyline::error::ReadlineError;
@@ -142,8 +142,8 @@ mod rustyline_readline {
142142

143143
fn complete(
144144
&self,
145-
line: &str,
146-
pos: usize,
145+
_line: &str,
146+
_pos: usize,
147147
_ctx: &Context,
148148
) -> rustyline::Result<(usize, Vec<String>)> {
149149
Err(ReadlineError::Interrupted)
@@ -152,7 +152,6 @@ mod rustyline_readline {
152152
impl Hinter for HelperShim {
153153
type Hint = String;
154154
}
155-
// impl Helper for ShellHelper<'_> {}
156155
#[test]
157156
fn test_multi_read_line() {
158157

0 commit comments

Comments
 (0)