mirror of
https://github.com/FliegendeWurst/cursive.git
synced 2024-11-09 19:00:46 +00:00
Fix clippy warning
This commit is contained in:
parent
9db3c87851
commit
db09930fe2
@ -490,9 +490,7 @@ pub fn load_theme(content: &str) -> Result<Theme, Error> {
|
||||
|
||||
/// Loads the default theme, and returns its representation.
|
||||
pub fn load_default() -> Theme {
|
||||
let theme = Theme::default();
|
||||
|
||||
theme
|
||||
Theme::default()
|
||||
}
|
||||
|
||||
/// Loads a hexadecimal code
|
||||
|
Loading…
Reference in New Issue
Block a user