remove unnecessary must_use
This commit is contained in:
@@ -3,7 +3,6 @@ use std::io::{self, Read, Write};
|
|||||||
use anyhow::{Context, Result};
|
use anyhow::{Context, Result};
|
||||||
use termios::*;
|
use termios::*;
|
||||||
|
|
||||||
#[must_use]
|
|
||||||
pub(crate) fn get_user_confirmation() -> Result<bool> {
|
pub(crate) fn get_user_confirmation() -> Result<bool> {
|
||||||
print!("Continue? [Y/n] ");
|
print!("Continue? [Y/n] ");
|
||||||
std::io::stdout().flush().unwrap();
|
std::io::stdout().flush().unwrap();
|
||||||
|
|||||||
Reference in New Issue
Block a user