Skip to content

Commit

Permalink
BugFix: Error propagation is silenced (#511)
Browse files Browse the repository at this point in the history
* Properly propagate error of nested result
  • Loading branch information
martinfrances107 authored Oct 18, 2023
1 parent 81d7ea7 commit d84fdb5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plotters/src/style/font/ttf.rs
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ fn load_font_data(face: FontFamily, style: FontStyle) -> FontResult<FontExt> {
.load()
.map(FontExt::new)
.map_err(|e| FontError::FontLoadError(Arc::new(e)))
})?;
})??;
}
drop(cache);

Expand Down

0 comments on commit d84fdb5

Please sign in to comment.