We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cb19390 commit 8206993Copy full SHA for 8206993
src/lib.rs
@@ -29,7 +29,7 @@ static NL_RIGHT: &str = "\n>";
29
fn enable_ansi() {
30
if cfg!(windows) {
31
static ONCE: Once = Once::new();
32
- ONCE.call_once(|| ansi_term::enable_ansi_support().ok());
+ ONCE.call_once(|| {ansi_term::enable_ansi_support().ok();});
33
}
34
35
0 commit comments