Fix typos by codespell (#7600)

# Description

Found via `codespell -S target -L
crate,ser,numer,falsy,ro,te,nd,bu,ndoes,statics,ons,fo,rouge,pard`

# User-Facing Changes

None.

# Tests + Formatting

None and done.

# After Submitting

None.
This commit is contained in:
Kian-Meng Ang
2022-12-26 15:31:26 +08:00
committed by GitHub
parent 2415381682
commit 79000aa5e0
39 changed files with 61 additions and 61 deletions

View File

@ -10,7 +10,7 @@ use tabled::{
/// NuTable has a recursive table representation of nu_protocol::Value.
///
/// It doesn't support alignement and a proper width control.
/// It doesn't support alignment and a proper width control.
pub struct NuTable {
inner: tabled::Table,
}

View File

@ -34,7 +34,7 @@ impl Table {
///
/// If `headers.is_empty` then no headers will be rendered.
pub fn new(data: Vec<Vec<TCell<CellInfo<'static>, TextStyle>>>, size: (usize, usize)) -> Table {
// it's not guaranted that data will have all rows with the same number of columns.
// it's not guaranteed that data will have all rows with the same number of columns.
// but VecRecords::with_hint require this constrain.
//
// so we do a check to make it certainly true