From a66d1096479ef8d905fb39367aab867ae3bc8825 Mon Sep 17 00:00:00 2001 From: Cosimo Lupo Date: Mon, 25 Sep 2023 18:15:34 +0100 Subject: [PATCH] minor docstring formatting: leave empty line after first [skip ci] --- write-fonts/src/tables/cmap.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/write-fonts/src/tables/cmap.rs b/write-fonts/src/tables/cmap.rs index 6a203b456..9e63a2a23 100644 --- a/write-fonts/src/tables/cmap.rs +++ b/write-fonts/src/tables/cmap.rs @@ -27,6 +27,7 @@ fn size_of_cmap12(num_groups: u32) -> u32 { impl CmapSubtable { /// Create a new format 4 `CmapSubtable` from a list of `(char, GlyphId)` pairs. + /// /// The pairs are expected to be already sorted by codepoint. /// Characters beyond the BMP are ignored. If all characters are beyond the BMP /// then `None` is returned. @@ -116,6 +117,7 @@ impl CmapSubtable { } /// Create a new format 12 `CmapSubtable` from a list of `(char, GlyphId)` pairs. + /// /// The pairs are expected to be already sorted by chars. /// In case of duplicate chars, the last one wins. fn create_format_12(mappings: &[(char, GlyphId)]) -> Self {