Skip to content

Commit a15c3b2

Browse files
authored
docs: remove deprecated table constructor from breaking changes (#698)
1 parent 41c44a4 commit a15c3b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

BREAKING-CHANGES.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ E.g.
121121
```diff
122122
- let table = Table::new(rows).widths(&[Constraint::Length(1)]);
123123
// becomes
124-
+ let table = Table::new(rows).widths([Constraint::Length(1)]);
124+
+ let table = Table::new(rows, [Constraint::Length(1)]);
125125
```
126126

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

0 commit comments

Comments
 (0)