Skip to content

Commit 8206993

Browse files
committed
Fix compile error
1 parent cb19390 commit 8206993

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ static NL_RIGHT: &str = "\n>";
2929
fn enable_ansi() {
3030
if cfg!(windows) {
3131
static ONCE: Once = Once::new();
32-
ONCE.call_once(|| ansi_term::enable_ansi_support().ok());
32+
ONCE.call_once(|| {ansi_term::enable_ansi_support().ok();});
3333
}
3434
}
3535

0 commit comments

Comments
 (0)