Fix clippy warning

This commit is contained in:
Alexandre Bury 2016-08-04 09:58:13 -07:00
parent 9db3c87851
commit db09930fe2

View File

@ -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