Skip to content

Commit

Permalink
Merge pull request #165 from Imberflur/patch-1
Browse files Browse the repository at this point in the history
Small fix for BufferLine::set_align docs
  • Loading branch information
jackpot51 authored Aug 2, 2023
2 parents bbebd31 + 9d2d2dd commit a74b0de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/buffer_line.rs
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ impl BufferLine {

/// Set the text alignment
///
/// Will reset shape and layout if it differs from current alignment.
/// Will reset layout if it differs from current alignment.
/// Setting to None will use `Align::Right` for RTL lines, and `Align::Left` for LTR lines.
/// Returns true if the line was reset
pub fn set_align(&mut self, align: Option<Align>) -> bool {
Expand Down

0 comments on commit a74b0de

Please sign in to comment.