mirror of
https://github.com/FliegendeWurst/cursive.git
synced 2024-11-10 03:10:41 +00:00
Fix warning
Unused error reported.
This commit is contained in:
parent
e5cb687990
commit
17e44652b8
@ -107,7 +107,7 @@ impl Cursive {
|
||||
/// Returns TRUE if the theme was successfully loaded.
|
||||
pub fn load_theme<P: AsRef<Path>>(&mut self, filename: P) -> bool {
|
||||
match theme::load_theme(filename) {
|
||||
Err(err) => return false,
|
||||
Err(_) => return false,
|
||||
Ok(theme) => self.theme = theme,
|
||||
}
|
||||
true
|
||||
|
Loading…
Reference in New Issue
Block a user