Skip to content

Commit

Permalink
Fix docstring typo (#217)
Browse files Browse the repository at this point in the history
  • Loading branch information
tomcur authored Dec 9, 2024
1 parent f473e9c commit f9bb8fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion parley/src/layout/cursor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ impl Cursor {
cur
}

/// Returns a new cursor that is (positioned at. the previous word boundary
/// Returns a new cursor that is positioned at the previous word boundary
/// in visual order.
#[must_use]
pub fn previous_visual_word<B: Brush>(&self, layout: &Layout<B>) -> Self {
Expand Down

0 comments on commit f9bb8fb

Please sign in to comment.