Skip to content

Commit

Permalink
Update README.md (#389)
Browse files Browse the repository at this point in the history
  • Loading branch information
jvanbuel authored Jan 8, 2024
1 parent 308944f commit 87959ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1887,7 +1887,7 @@ Rows::first().and(Columns::single(0)).not(Cell(0, 0)); // select the header and
Also you can target a column via its name using `ByColumnName`.

```rust
use tabled::{locator::ByColumnName, Alignment, Modify};
use tabled::{location::ByColumnName, Alignment, Modify};

table.with(Modify::new(ByColumnName::new("name")).with(Alignment::center()));
```
Expand Down

0 comments on commit 87959ae

Please sign in to comment.