Skip to content

Commit

Permalink
tabled/ Fix horizontal_line::remove_right return type
Browse files Browse the repository at this point in the history
  • Loading branch information
zhiburt committed Dec 20, 2023
1 parent cf4335c commit 308944f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tabled/src/settings/style/horizontal_line.rs
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ impl<L, I> HorizontalLine<L, On, I> {
}

/// Remove a horizontal right character.
pub const fn remove_right(mut self) -> HorizontalLine<I, (), I> {
pub const fn remove_right(mut self) -> HorizontalLine<L, (), I> {
self.line.right = None;
HorizontalLine::update(self.line)
}
Expand Down

0 comments on commit 308944f

Please sign in to comment.