Skip to content

Commit d84fdb5

Browse files
BugFix: Error propagation is silenced (#511)
* Properly propagate error of nested result
1 parent 81d7ea7 commit d84fdb5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plotters/src/style/font/ttf.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ fn load_font_data(face: FontFamily, style: FontStyle) -> FontResult<FontExt> {
137137
.load()
138138
.map(FontExt::new)
139139
.map_err(|e| FontError::FontLoadError(Arc::new(e)))
140-
})?;
140+
})??;
141141
}
142142
drop(cache);
143143

0 commit comments

Comments
 (0)