Skip to content

Commit

Permalink
typo fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
CommanderStorm committed Dec 13, 2024
1 parent 1938940 commit 7b9af16
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docs/src/sources-fonts.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ curl http://127.0.0.1:3000/font/%7Bfontstack%7D/%7Brange%7D
[
"Overpass Mono Bold",
"Overpass Mono Light",
"Overpass Mono SemiBold",
"Overpass Mono SemiBold"
]
```

Expand Down
1 change: 1 addition & 0 deletions martin/src/fonts/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,7 @@ impl FontSources {
.collect()
}

/// Returns an alphabetically sorted list of font stacks (i.e. the name of the font)
#[must_use]
pub fn get_fontstacks(&self) -> Vec<String> {
self.fonts.keys().cloned().sorted().collect()
Expand Down

0 comments on commit 7b9af16

Please sign in to comment.