Skip to content

Commit

Permalink
docs: remove deprecated table constructor from breaking changes (#698)
Browse files Browse the repository at this point in the history
  • Loading branch information
orhun authored Dec 17, 2023
1 parent 41c44a4 commit a15c3b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion BREAKING-CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ E.g.
```diff
- let table = Table::new(rows).widths(&[Constraint::Length(1)]);
// becomes
+ let table = Table::new(rows).widths([Constraint::Length(1)]);
+ let table = Table::new(rows, [Constraint::Length(1)]);
```

### Layout::new() now accepts direction and constraint parameters ([#557])
Expand Down

0 comments on commit a15c3b2

Please sign in to comment.