mirror of
https://github.com/typst/typst
synced 2025-08-20 17:58:32 +08:00
Make clippy happy
This commit is contained in:
parent
299eb5c043
commit
fa9f36ae46
@ -77,7 +77,7 @@ pub fn plain_docs_sentence(docs: &str) -> EcoString {
|
||||
}
|
||||
|
||||
/// Create a short description of a font family.
|
||||
pub fn summarize_font_family<'a>(mut variants: Vec<&'a FontInfo>) -> EcoString {
|
||||
pub fn summarize_font_family(mut variants: Vec<&FontInfo>) -> EcoString {
|
||||
variants.sort_by_key(|info| info.variant);
|
||||
|
||||
let mut has_italic = false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user