diff options
author | Alessandro Menezes <alessandroasm@gmail.com> | 2021-10-09 18:25:43 -0400 |
---|---|---|
committer | Stephan Dilly <dilly.stephan@gmail.com> | 2021-10-10 02:57:45 +0200 |
commit | 848623305303031c14c770dff93e57bda829f43c (patch) | |
tree | a5cad6e1558c340cf84fdbe5c63b25a55b8fa731 /src/ui | |
parent | d84120a895bae0831330805f15e602ccded1b5e0 (diff) |
Fixing the CI Pipeline
Rust nightly (1.57.0-nightly) was throwing errors when running `cargo clippy`.
Diffstat (limited to 'src/ui')
-rw-r--r-- | src/ui/stateful_paragraph.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/stateful_paragraph.rs b/src/ui/stateful_paragraph.rs index 30615162..21bcad14 100644 --- a/src/ui/stateful_paragraph.rs +++ b/src/ui/stateful_paragraph.rs @@ -160,7 +160,7 @@ impl<'a> StatefulWidget for StatefulParagraph<'a> { &mut styled, text_area.width, )); - if let Alignment::Left = self.alignment { + if self.alignment == Alignment::Left { line_composer .set_horizontal_offset(state.scroll.x); } |