Skip to content

Commit

Permalink
Fix warning
Browse files Browse the repository at this point in the history
  • Loading branch information
gwenn committed Mar 6, 2021
1 parent f53c4c1 commit b00e10f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ mod tty;
mod undo;
pub mod validate;

use std::borrow::Cow;
use std::collections::HashMap;
use std::fmt;
use std::io::{self, Write};
Expand Down Expand Up @@ -193,6 +192,7 @@ fn complete_line<H: Helper>(
// corresponding completion_type
#[cfg(all(unix, feature = "with-fuzzy"))]
{
use std::borrow::Cow;
if CompletionType::Fuzzy == config.completion_type() {
struct Candidate {
index: usize,
Expand Down

0 comments on commit b00e10f

Please sign in to comment.