mirror of
https://github.com/ratatui-org/ratatui
synced 2024-11-10 07:04:17 +00:00
docs: remove deprecated table constructor from breaking changes (#698)
This commit is contained in:
parent
41c44a4af6
commit
a15c3b2660
1 changed files with 1 additions and 1 deletions
|
@ -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])
|
||||
|
|
Loading…
Reference in a new issue