Skip to content

Commit

Permalink
Fix docstring typo
Browse files Browse the repository at this point in the history
  • Loading branch information
tomcur committed Dec 9, 2024
1 parent 4fa6d9d commit 77cc7a5
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 77cc7a5

Please sign in to comment.