diff options
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/src/html.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/src/html.rs b/docs/src/html.rs index 9077d5c4..9c02f08e 100644 --- a/docs/src/html.rs +++ b/docs/src/html.rs @@ -498,7 +498,7 @@ impl World for DocWorld { } fn font(&self, index: usize) -> Option<Font> { - Some(FONTS.1[index].clone()) + FONTS.1.get(index).cloned() } fn today(&self, _: Option<i64>) -> Option<Datetime> { |
