Skip to content

Commit

Permalink
Fix clippy::too_long_first_doc_paragraph lint
Browse files Browse the repository at this point in the history
  • Loading branch information
waywardmonkeys committed Oct 21, 2024
1 parent baf0bc0 commit bbc6374
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions piet/src/util.rs
Original file line number Diff line number Diff line change
Expand Up @@ -219,9 +219,11 @@ pub fn unpremultiply_rgba(data: &mut [u8]) {
}
}

/// A heurstic for text direction; returns `true` if, while enumerating characters
/// in this string, a character in the 'R' (strong right-to-left) category is
/// encountered before any character in the 'L' (strong left-to-right) category is.
/// A heurstic for text direction.
///
/// Returns `true` if, while enumerating characters in this string, a character in the
/// 'R' (strong right-to-left) category is encountered before any character in the 'L'
/// (strong left-to-right) category is.
///
/// See [Unicode technical report 9](https://unicode.org/reports/tr9/#Table_Bidirectional_Character_Types).
pub fn first_strong_rtl(text: &str) -> bool {
Expand Down

0 comments on commit bbc6374

Please sign in to comment.