Skip to content

Commit 01ed232

Browse files
committed
Use a more realistic example
1 parent e47e899 commit 01ed232

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/font/system.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ impl FontSystemBuilder {
226226
///
227227
/// FontSystem::builder()
228228
/// .load_font(Source::Binary(Arc::new(include_bytes!("Roboto-Regular.ttf"))))
229-
/// .load_font(Source::File("./Roboto.ttf".into()))
229+
/// .load_font(Source::File("./Roboto-Bold.ttf".into()))
230230
/// .build();
231231
/// ```
232232
pub fn load_font(mut self, source: fontdb::Source) -> Self {
@@ -247,7 +247,7 @@ impl FontSystemBuilder {
247247
/// FontSystem::builder()
248248
/// .load_fonts([
249249
/// Source::Binary(Arc::new(include_bytes!("Roboto-Regular.ttf"))),
250-
/// Source::File("./Roboto.ttf".into())
250+
/// Source::File("./Roboto-Bold.ttf".into())
251251
/// ])
252252
/// .build();
253253
/// ```

0 commit comments

Comments
 (0)