mirror of
https://github.com/agersant/polaris
synced 2024-11-10 10:14:12 +00:00
Fixed warning outside of building tests
This commit is contained in:
parent
3009636f88
commit
e0d3b3034a
1 changed files with 1 additions and 0 deletions
|
@ -66,6 +66,7 @@ impl CommandSender {
|
|||
}
|
||||
}
|
||||
|
||||
#[allow(dead_code)]
|
||||
pub fn exit(&self) -> Result<(), errors::Error> {
|
||||
let sender = self.sender.lock().unwrap();
|
||||
match sender.send(Command::EXIT) {
|
||||
|
|
Loading…
Reference in a new issue