Merge pull request #165 from Imberflur/patch-1

Small fix for BufferLine::set_align docs
This commit is contained in:
Jeremy Soller 2023-08-02 09:13:03 -06:00 committed by GitHub
commit a74b0dedbf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 {