Repository: zhiburt/tabled
Pull request #257 (2022-12-12 10:25:39)

Fix typos across the project
This one is much more invasive as it fixes typos which alter the library interface.

I've fixed all the tests that broke due to the fixes to the best of my knowledge.


Patch:
diff --git a/CHANGELOG.md b/CHANGELOG.md
index e36b297..962e908 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -35,7 +35,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
 - Added `ByColumnName` locator to target columns via name and use it as `Object`.
 - Added `VerticalLine` to set custom vertical lines.
 - Added `Height` structure to control table/cell height.
-- Added `BorderChar` to set a char by an arbitraty offest on a split horizonta/vertical lines.
+- Added `BorderChar` to set a char by an arbitrary offset on a split horizonta/vertical lines.
 - Added support for `fmt::*` settings when called with `format`/`println`.
 - Created `json_to_table` crate to convert json into table.
 - `papergrid` has got a few new functions.
@@ -229,7 +229,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
 
 ### Changed
 
-- `MaxWidth` interface changed in regard to support `wrapping`. Now old `MaxWidth` logic can be called by `MaxWidth::trucating`.
+- `MaxWidth` interface changed in regard to support `wrapping`. Now old `MaxWidth` logic can be called by `MaxWidth::truncating`.
 
 ### Fixed
 
diff --git a/examples/README.md b/examples/README.md
index 9c60d73..fcf1606 100644
--- a/examples/README.md
+++ b/examples/README.md
@@ -3,7 +3,7 @@ This file contains an overview of examples.
 - `derive` folder contains a list of examples which uses different `#[derive(Tabled)]` attributes.
 - `show` folder contains a program which uses different styles and prints the resulting table.
 - `terminal_size` folder contains a program which spreads the table to the max terminal width and max terminal height.
-  You can use wich dimension to use via args `--width`, `--height` by default 2 are used.
+  You can use which dimension to use via args `--width`, `--height` by default 2 are used.
 
 Bellow there's a list of results of running some examples.
 
diff --git a/examples/nested_table_3.rs b/examples/nested_table_3.rs
index 2f98517..31c02a0 100644
--- a/examples/nested_table_3.rs
+++ b/examples/nested_table_3.rs
@@ -19,7 +19,7 @@ impl Contribution {
 }
 
 fn main() {
-    let commiters = [
+    let committers = [
         Contribution::new("kozmod", "https:/github.com/kozmod"),
         Contribution::new("IsaacCloos", "https:/github.com/IsaacCloos"),
     ];
@@ -29,7 +29,7 @@ fn main() {
         "https:/github.com/aharpervc",
     )];
 
-    let commiters_table = commiters
+    let committers_table = committers
         .table()
         .with(Panel::header("Contributors"))
         .with(Modify::new(Segment::all()).with(Alignment::center()))
@@ -41,7 +41,7 @@ fn main() {
         .with(Modify::new(Segment::all()).with(Alignment::center()))
         .to_string();
 
-    let mut a_welcome_table = [String::from("Thank You"), commiters_table, issues_table].table();
+    let mut a_welcome_table = [String::from("Thank You"), committers_table, issues_table].table();
     a_welcome_table
         .with(Extract::rows(1..))
         .with(Style::ascii().off_horizontal())
diff --git a/examples/shadow.rs b/examples/shadow.rs
index ba9c091..64bed08 100644
--- a/examples/shadow.rs
+++ b/examples/shadow.rs
@@ -1,4 +1,4 @@
-//! The example relayes on STDIN to read the message which will be outputed.
+//! The example relayes on STDIN to read the message which will be outputted.
 //!
 //! The table is inspired by <https://en.wikipedia.org/wiki/Box-drawing_character>
 //!
diff --git a/examples/table_width.rs b/examples/table_width.rs
index 2e27250..80cdbff 100644
--- a/examples/table_width.rs
+++ b/examples/table_width.rs
@@ -1,7 +1,7 @@
 //! The example can be run by this command
 //! `cargo run --example table_width`
 
-use tabled::{measurment::Percent, object::Segment, Alignment, Modify, Style, Table, Width};
+use tabled::{measurement::Percent, object::Segment, Alignment, Modify, Style, Table, Width};
 
 fn main() {
     let data = [
diff --git a/json_to_table/Cargo.toml b/json_to_table/Cargo.toml
index fe58870..a1ccc2b 100644
--- a/json_to_table/Cargo.toml
+++ b/json_to_table/Cargo.toml
@@ -10,7 +10,7 @@ license = "MIT"
 keywords = ["table", "print", "pretty-table", "format", "json"]
 categories = ["text-processing", "visualization"]
 readme = "README.md"
-description = "A libary for pretty print JSON as a table"
+description = "A library for pretty print JSON as a table"
 
 [features]
 color = ["tabled/color"]
diff --git a/papergrid/src/config/borders.rs b/papergrid/src/config/borders.rs
index d41a9c5..8e48d79 100644
--- a/papergrid/src/config/borders.rs
+++ b/papergrid/src/config/borders.rs
@@ -366,7 +366,7 @@ pub struct Borders<T = char> {
     /// A vertical split on the right frame line.
     pub vertical_right: Option<T>,
 
-    /// A top left charcter on the frame.
+    /// A top left character on the frame.
     pub intersection: Option<T>,
 }
 
@@ -439,7 +439,7 @@ pub(crate) struct BordersLayout {
     verticals: HashSet<usize>,
 }
 
-/// A structre for a custom horizontal line.
+/// A structure for a custom horizontal line.
 #[derive(Debug, Clone, Copy, Default)]
 pub struct HorizontalLine<T> {
     /// Line character.
@@ -462,7 +462,7 @@ impl<T> HorizontalLine<T> {
     }
 }
 
-/// A structre for a vertical line.
+/// A structure for a vertical line.
 #[derive(Debug, Clone, Copy, Default)]
 pub struct VerticalLine<T> {
     /// Line character.
diff --git a/papergrid/src/config/formatting.rs b/papergrid/src/config/formatting.rs
index 136e68a..10aceba 100644
--- a/papergrid/src/config/formatting.rs
+++ b/papergrid/src/config/formatting.rs
@@ -6,16 +6,16 @@ pub struct Formatting {
     /// An setting to allow vertical trim.
     pub vertical_trim: bool,
     /// An setting to allow alignment per line.
-    pub allow_lines_alignement: bool,
+    pub allow_lines_alignment: bool,
 }
 
 impl Formatting {
     /// Creates a new [`Formatting`] structure.
-    pub fn new(horizontal_trim: bool, vertical_trim: bool, allow_lines_alignement: bool) -> Self {
+    pub fn new(horizontal_trim: bool, vertical_trim: bool, allow_lines_alignment: bool) -> Self {
         Self {
             horizontal_trim,
             vertical_trim,
-            allow_lines_alignement,
+            allow_lines_alignment,
         }
     }
 }
diff --git a/papergrid/src/config/mod.rs b/papergrid/src/config/mod.rs
index 1110c51..05814d0 100644
--- a/papergrid/src/config/mod.rs
+++ b/papergrid/src/config/mod.rs
@@ -219,7 +219,7 @@ impl GridConfig {
         self.borders.remove_horizontal_line(row);
     }
 
-    /// Gets a overriden vertical line.
+    /// Gets a overridden vertical line.
     ///
     /// Row `0` means the top row.
     /// Row `grid.count_rows()` means the bottom row.
@@ -243,7 +243,7 @@ impl GridConfig {
         self.borders.remove_vertical_line(row);
     }
 
-    /// Gets a overriden line.
+    /// Gets a overridden line.
     ///
     /// Row `0` means the top row.
     /// Row `grid.count_rows()` means the bottom row.
@@ -291,8 +291,8 @@ impl GridConfig {
         chars.insert(offset, c);
     }
 
-    /// Get a list of overriden chars in a horizontal border.
-    pub fn lookup_overidden_horizontal(
+    /// Get a list of overridden chars in a horizontal border.
+    pub fn lookup_overridden_horizontal(
         &self,
         pos: Position,
         offset: usize,
@@ -316,13 +316,13 @@ impl GridConfig {
             .copied()
     }
 
-    /// Checks if there any char in a horizontal border being overriden.
-    pub fn is_overidden_horizontal(&self, pos: Position) -> bool {
+    /// Checks if there any char in a horizontal border being overridden.
+    pub fn is_overridden_horizontal(&self, pos: Position) -> bool {
         self.override_horizontal_borders.get(&pos).is_some()
     }
 
-    /// Removes a list of overriden chars in a horizontal border.
-    pub fn remove_overidden_horizontal(&mut self, pos: Position) {
+    /// Removes a list of overridden chars in a horizontal border.
+    pub fn remove_overridden_horizontal(&mut self, pos: Position) {
         self.override_horizontal_borders.remove(&pos);
     }
 
@@ -338,8 +338,8 @@ impl GridConfig {
         chars.insert(offset, c);
     }
 
-    /// Get a list of overriden chars in a horizontal border.
-    pub fn lookup_overidden_vertical(
+    /// Get a list of overridden chars in a horizontal border.
+    pub fn lookup_overridden_vertical(
         &self,
         pos: Position,
         offset: usize,
@@ -363,13 +363,13 @@ impl GridConfig {
             .copied()
     }
 
-    /// Checks if there any char in a horizontal border being overriden.
-    pub fn is_overidden_vertical(&self, pos: Position) -> bool {
+    /// Checks if there any char in a horizontal border being overridden.
+    pub fn is_overridden_vertical(&self, pos: Position) -> bool {
         self.override_vertical_borders.get(&pos).is_some()
     }
 
-    /// Removes a list of overriden chars in a horizontal border.
-    pub fn remove_overidden_vertical(&mut self, pos: Position) {
+    /// Removes a list of overridden chars in a horizontal border.
+    pub fn remove_overridden_vertical(&mut self, pos: Position) {
         self.override_vertical_borders.remove(&pos);
     }
 
@@ -458,12 +458,12 @@ impl GridConfig {
 
     /// Sets off all borders possible on the [`Entity`].
     ///
-    /// It doesn't changes globaly set borders through [`GridConfig::set_borders`].
+    /// It doesn't changes globally set borders through [`GridConfig::set_borders`].
     pub fn remove_border(&mut self, pos: Position, shape: (usize, usize)) {
         self.borders.remove_border(pos, shape);
     }
 
-    /// Set a character wich will be used in case any missconfiguration of borders.
+    /// Set a character which will be used in case any misconfiguration of borders.
     ///
     /// It will be usde for example when you set a left char for border frame and top but didn't set a top left corner.
     pub fn set_borders_missing(&mut self, c: char) {
@@ -767,18 +767,18 @@ fn is_column_span_valid(
     span: usize,
     (count_rows, count_cols): (usize, usize),
 ) -> bool {
-    // ignore spans which are invlid
+    // ignore spans which are invalid
     let pos_correct = pos.1 < count_cols && pos.0 < count_rows;
-    // ignore a span range wich begger then count rows
+    // ignore a span range which begger then count rows
     let span_correct = span + pos.1 <= count_cols;
 
     pos_correct && span_correct
 }
 
 fn is_row_span_valid(pos: Position, span: usize, (count_rows, count_cols): (usize, usize)) -> bool {
-    // ignore spans which are invlid
+    // ignore spans which are invalid
     let pos_correct = pos.1 < count_cols && pos.0 < count_rows;
-    // ignore a span range wich begger then count columns
+    // ignore a span range which begger then count columns
     let span_correct = span + pos.0 <= count_rows;
 
     pos_correct && span_correct
diff --git a/papergrid/src/grid.rs b/papergrid/src/grid.rs
index 4ef40fc..04fbf20 100644
--- a/papergrid/src/grid.rs
+++ b/papergrid/src/grid.rs
@@ -663,9 +663,9 @@ fn print_horizontal_border(
     width: usize,
     c: char,
 ) -> fmt::Result {
-    if cfg.is_overidden_horizontal(pos) {
+    if cfg.is_overridden_horizontal(pos) {
         for i in 0..width {
-            let c = cfg.lookup_overidden_horizontal(pos, i, width).unwrap_or(c);
+            let c = cfg.lookup_overridden_horizontal(pos, i, width).unwrap_or(c);
 
             f.write_char(c)?;
         }
@@ -805,9 +805,9 @@ where
         (line, width)
     };
 
-    if formatting.allow_lines_alignement {
+    if formatting.allow_lines_alignment {
         let (left, right) = calculate_indent(alignment, line_width, available_width);
-        return print_text_formated(f, records, pos, &line, tab_width, left, right);
+        return print_text_formatted(f, records, pos, &line, tab_width, left, right);
     }
 
     let cell_width = if formatting.horizontal_trim {
@@ -821,7 +821,7 @@ where
     };
 
     let (left, right) = calculate_indent(alignment, cell_width, available_width);
-    print_text_formated(f, records, pos, &line, tab_width, left, right)?;
+    print_text_formatted(f, records, pos, &line, tab_width, left, right)?;
 
     let rest_width = cell_width - line_width;
     repeat_char(f, DEFAULT_SPACE_CHAR, rest_width)?;
@@ -830,7 +830,7 @@ where
 }
 
 #[allow(unused)]
-fn print_text_formated<R>(
+fn print_text_formatted<R>(
     f: &mut fmt::Formatter<'_>,
     records: &R,
     pos: Position,
@@ -1003,8 +1003,8 @@ where
 {
     let left = get_vertical(cfg, records, pos);
     if let Some(c) = left {
-        let c = if cfg.is_overidden_vertical(pos) {
-            cfg.lookup_overidden_vertical(pos, line_index, count_lines)
+        let c = if cfg.is_overridden_vertical(pos) {
+            cfg.lookup_overridden_vertical(pos, line_index, count_lines)
                 .unwrap_or(*c)
         } else {
             *c
@@ -1359,7 +1359,7 @@ mod tests {
     use super::*;
 
     #[test]
-    fn horizontal_aligment_test() {
+    fn horizontal_alignment_test() {
         use std::fmt;
 
         struct F<'a>(&'a str, AlignmentHorizontal, usize);
@@ -1367,7 +1367,7 @@ mod tests {
         impl fmt::Display for F<'_> {
             fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
                 let (left, right) = calculate_indent(self.1, string_width(self.0), self.2);
-                print_text_formated(f, &EmptyRecords::default(), (0, 0), self.0, 4, left, right)
+                print_text_formatted(f, &EmptyRecords::default(), (0, 0), self.0, 4, left, right)
             }
         }
 
@@ -1389,7 +1389,7 @@ mod tests {
     }
 
     #[test]
-    fn vertical_aligment_test() {
+    fn vertical_alignment_test() {
         use AlignmentVertical::*;
 
         assert_eq!(indent_from_top(Bottom, 1, 1), 0);
diff --git a/papergrid/src/records/cell_info.rs b/papergrid/src/records/cell_info.rs
index da7996a..5e4b444 100644
--- a/papergrid/src/records/cell_info.rs
+++ b/papergrid/src/records/cell_info.rs
@@ -114,7 +114,7 @@ impl Clone for CellInfo<'_> {
                     // # Safety
                     //
                     // It must be safe because the referenced string and the references are dropped at the same time.
-                    // And the referenced String is guaranted to not be changed.
+                    // And the referenced String is guaranteed to not be changed.
                     let text = unsafe {
                         let text_ptr = self.text.as_ptr();
                         let line_ptr = s.as_ptr();
@@ -175,7 +175,7 @@ where
     // # Safety
     //
     // It must be safe because the referenced string and the references are dropped at the same time.
-    // And the referenced String is guaranted to not be changed.
+    // And the referenced String is guaranteed to not be changed.
     let text = unsafe {
         std::str::from_utf8_unchecked(std::slice::from_raw_parts(
             info.text.as_ptr(),
diff --git a/papergrid/src/records/empty.rs b/papergrid/src/records/empty.rs
index aae9aca..05f4ec6 100644
--- a/papergrid/src/records/empty.rs
+++ b/papergrid/src/records/empty.rs
@@ -10,7 +10,7 @@ pub struct EmptyRecords {
 }
 
 impl EmptyRecords {
-    /// Constracts an empty representation of [`Records`] with a given shape.
+    /// Constructs an empty representation of [`Records`] with a given shape.
     pub fn new(rows: usize, cols: usize) -> Self {
         Self { rows, cols }
     }
diff --git a/papergrid/src/records/mod.rs b/papergrid/src/records/mod.rs
index 02c7c13..ecff1c6 100644
--- a/papergrid/src/records/mod.rs
+++ b/papergrid/src/records/mod.rs
@@ -1,4 +1,4 @@
-//! The module contains a [Records] abstraction of a [`Grid`] trait and its implementators.
+//! The module contains a [Records] abstraction of a [`Grid`] trait and its implementers.
 //!
 //! [`Grid`]: crate::Grid
 
@@ -11,7 +11,7 @@ pub mod vec_records;
 #[cfg(feature = "color")]
 pub mod tcell;
 
-/// The representaion of data, rows and columns of a [`Grid`].
+/// The representation of data, rows and columns of a [`Grid`].
 ///
 /// [`Grid`]: crate::Grid
 pub trait Records {
diff --git a/papergrid/src/records/vec_records.rs b/papergrid/src/records/vec_records.rs
index 4464a19..091ab89 100644
--- a/papergrid/src/records/vec_records.rs
+++ b/papergrid/src/records/vec_records.rs
@@ -308,7 +308,7 @@ where
     cells
 }
 
-/// Cell imlementation which can be used with [`VecRecords`].
+/// Cell implementation which can be used with [`VecRecords`].
 pub trait Cell: AsRef<str> {
     /// Gets a line by index.
     fn get_line(&self, i: usize) -> &str;
@@ -348,7 +348,7 @@ pub trait CellMut<T> {
     where
         W: WidthFunc;
 
-    /// Trigers an update a cell.
+    /// Triggers an update a cell.
     ///
     /// It may be caused if width function was changed.
     fn update<W>(&mut self, width_ctrl: W)
diff --git a/src/builder.rs b/src/builder.rs
index ba1ea42..2384692 100644
--- a/src/builder.rs
+++ b/src/builder.rs
@@ -821,7 +821,7 @@ fn build_index(mut b: IndexBuilder<'_>) -> Builder<'_> {
 
     let records = &mut b.b.records;
 
-    // it's guaranted to be set
+    // it's guaranteed to be set
     let columns = b.b.columns.take().unwrap();
 
     records.insert(0, columns);
diff --git a/src/features/extract.rs b/src/features/extract.rs
index 5bb15da..e8b4629 100644
--- a/src/features/extract.rs
+++ b/src/features/extract.rs
@@ -161,7 +161,7 @@ where
             shape.1,
         );
 
-        // Cleanup table in case if boundries are exeeded.
+        // Cleanup table in case if boundaries are exeeded.
         //
         // todo: can be optimized by adding a clear() method to Resizable
         rows.0 = std::cmp::min(rows.0, shape.0);
diff --git a/src/features/height/cell_height_increase.rs b/src/features/height/cell_height_increase.rs
index bea4824..4cc13b0 100644
--- a/src/features/height/cell_height_increase.rs
+++ b/src/features/height/cell_height_increase.rs
@@ -4,7 +4,7 @@ use papergrid::{
     Entity,
 };
 
-use crate::{measurment::Measurment, peaker::Peaker, CellOption, Height, Table, TableOption};
+use crate::{measurement::Measurement, peaker::Peaker, CellOption, Height, Table, TableOption};
 
 use super::TableHeightIncrease;
 
@@ -22,7 +22,7 @@ impl<W> CellHeightIncrease<W> {
     /// Creates a new object of the structure.
     pub fn new(height: W) -> Self
     where
-        W: Measurment<Height>,
+        W: Measurement<Height>,
     {
         Self { height }
     }
@@ -32,7 +32,7 @@ impl<W> CellHeightIncrease<W> {
     pub fn priority<P>(self) -> TableHeightIncrease<W, P>
     where
         P: Peaker,
-        W: Measurment<Height>,
+        W: Measurement<Height>,
     {
         TableHeightIncrease::new(self.height).priority::<P>()
     }
@@ -40,7 +40,7 @@ impl<W> CellHeightIncrease<W> {
 
 impl<W, R> CellOption<R> for CellHeightIncrease<W>
 where
-    W: Measurment<Height>,
+    W: Measurement<Height>,
     R: Records + RecordsMut<String>,
 {
     fn change_cell(&mut self, table: &mut Table<R>, entity: Entity) {
@@ -74,7 +74,7 @@ fn add_lines(s: &str, n: usize) -> String {
 
 impl<W, R> TableOption<R> for CellHeightIncrease<W>
 where
-    W: Measurment<Height>,
+    W: Measurement<Height>,
     R: Records,
 {
     fn change(&mut self, table: &mut Table<R>) {
diff --git a/src/features/height/cell_height_limit.rs b/src/features/height/cell_height_limit.rs
index 9f74d9b..e0b128b 100644
--- a/src/features/height/cell_height_limit.rs
+++ b/src/features/height/cell_height_limit.rs
@@ -5,7 +5,7 @@ use papergrid::{
     Entity,
 };
 
-use crate::{measurment::Measurment, peaker::Peaker, CellOption, Height, Table, TableOption};
+use crate::{measurement::Measurement, peaker::Peaker, CellOption, Height, Table, TableOption};
 
 use super::table_height_limit::TableHeightLimit;
 
@@ -23,7 +23,7 @@ impl<W> CellHeightLimit<W> {
     /// Constructs a new object.
     pub fn new(height: W) -> Self
     where
-        W: Measurment<Height>,
+        W: Measurement<Height>,
     {
         Self { height }
     }
@@ -32,7 +32,7 @@ impl<W> CellHeightLimit<W> {
     pub fn priority<P>(self) -> TableHeightLimit<W, P>
     where
         P: Peaker,
-        W: Measurment<Height>,
+        W: Measurement<Height>,
     {
         TableHeightLimit::new(self.height).priority::<P>()
     }
@@ -40,7 +40,7 @@ impl<W> CellHeightLimit<W> {
 
 impl<W, R> CellOption<R> for CellHeightLimit<W>
 where
-    W: Measurment<Height>,
+    W: Measurement<Height>,
     R: Records + RecordsMut<String>,
 {
     fn change_cell(&mut self, table: &mut Table<R>, entity: Entity) {
@@ -67,7 +67,7 @@ where
 
 impl<W, R> TableOption<R> for CellHeightLimit<W>
 where
-    W: Measurment<Height>,
+    W: Measurement<Height>,
     R: Records,
 {
     fn change(&mut self, table: &mut Table<R>) {
diff --git a/src/features/height/mod.rs b/src/features/height/mod.rs
index fa601f0..6cf78da 100644
--- a/src/features/height/mod.rs
+++ b/src/features/height/mod.rs
@@ -2,7 +2,7 @@
 
 use papergrid::{height::HeightEstimator, records::Records, Estimate, GridConfig};
 
-use crate::measurment::Measurment;
+use crate::measurement::Measurement;
 
 mod cell_height_increase;
 mod cell_height_limit;
@@ -123,7 +123,7 @@ impl Height {
     /// ```
     pub fn increase<W>(width: W) -> CellHeightIncrease<W>
     where
-        W: Measurment<Height>,
+        W: Measurement<Height>,
     {
         CellHeightIncrease::new(width)
     }
@@ -196,7 +196,7 @@ impl Height {
     /// ```
     pub fn limit<W>(width: W) -> CellHeightLimit<W>
     where
-        W: Measurment<Height>,
+        W: Measurement<Height>,
     {
         CellHeightLimit::new(width)
     }
diff --git a/src/features/height/table_height_increase.rs b/src/features/height/table_height_increase.rs
index 84b6750..c213aff 100644
--- a/src/features/height/table_height_increase.rs
+++ b/src/features/height/table_height_increase.rs
@@ -1,7 +1,7 @@
 use papergrid::records::Records;
 
 use crate::{
-    measurment::Measurment,
+    measurement::Measurement,
     peaker::{Peaker, PriorityNone},
     Height, Table, TableOption,
 };
@@ -19,7 +19,7 @@ impl<W> TableHeightIncrease<W, PriorityNone> {
     /// Creates a new object.
     pub fn new(height: W) -> Self
     where
-        W: Measurment<Height>,
+        W: Measurement<Height>,
     {
         Self {
             height,
@@ -42,7 +42,7 @@ impl<W> TableHeightIncrease<W, PriorityNone> {
 impl<R, W, P> TableOption<R> for TableHeightIncrease<W, P>
 where
     R: Records,
-    W: Measurment<Height>,
+    W: Measurement<Height>,
     P: Peaker + Clone,
 {
     fn change(&mut self, table: &mut Table<R>) {
diff --git a/src/features/height/table_height_limit.rs b/src/features/height/table_height_limit.rs
index c0c111a..8b1b528 100644
--- a/src/features/height/table_height_limit.rs
+++ b/src/features/height/table_height_limit.rs
@@ -1,7 +1,7 @@
 use papergrid::records::Records;
 
 use crate::{
-    measurment::Measurment,
+    measurement::Measurement,
     peaker::{Peaker, PriorityNone},
     Height, Table, TableOption,
 };
@@ -19,7 +19,7 @@ impl<W> TableHeightLimit<W, PriorityNone> {
     /// Creates a new object.
     pub fn new(height: W) -> Self
     where
-        W: Measurment<Height>,
+        W: Measurement<Height>,
     {
         Self {
             height,
@@ -42,7 +42,7 @@ impl<W> TableHeightLimit<W, PriorityNone> {
 impl<R, W, P> TableOption<R> for TableHeightLimit<W, P>
 where
     R: Records,
-    W: Measurment<Height>,
+    W: Measurement<Height>,
     P: Peaker + Clone,
 {
     fn change(&mut self, table: &mut Table<R>) {
diff --git a/src/features/locator.rs b/src/features/locator.rs
index 20fdd94..302e1c7 100644
--- a/src/features/locator.rs
+++ b/src/features/locator.rs
@@ -21,7 +21,7 @@ pub trait Locator {
     /// A coordinate of the finding.
     type Coordinate;
     /// An iterator of the coordinates.
-    /// If it's empty it's consideret that nothing is found.
+    /// If it's empty it's considered that nothing is found.
     type IntoIter: IntoIterator<Item = Self::Coordinate>;
 
     /// Search for the thing in [`Records`], returning a list of coordinates.
@@ -152,10 +152,10 @@ impl Locator for LastRow {
     }
 }
 
-/// The structure is an implementaion of [`Locator`] to search for a column by it's name.
-/// A name is considerent be a value in a first row.
+/// The structure is an implementation of [`Locator`] to search for a column by it's name.
+/// A name is considered be a value in a first row.
 ///
-/// So even if in reality there's no header, first row will be consideret the one.
+/// So even if in reality there's no header, the first row will be considered to be one.
 #[derive(Debug, Clone, Copy)]
 pub struct ByColumnName<S>(S);
 
diff --git a/src/features/measurment.rs b/src/features/measurement.rs
similarity index 86%
rename from src/features/measurment.rs
rename to src/features/measurement.rs
index 86c6601..19e119e 100644
--- a/src/features/measurment.rs
+++ b/src/features/measurement.rs
@@ -1,4 +1,4 @@
-//! The module contains [`Measurment`] trait and its implementations to be used in [`Height`] and [`Width`].
+//! The module contains [`Measurement`] trait and its implementations to be used in [`Height`] and [`Width`].
 
 use papergrid::{
     height::HeightEstimator,
@@ -12,14 +12,14 @@ use crate::{height::get_table_total_height, width::get_table_widths_with_total,
 /// A width value which can be obtained on behalf of [`Table`].
 ///
 /// [`Table`]: crate::Table
-pub trait Measurment<Attribute> {
-    /// Returns a measurment value.
+pub trait Measurement<Attribute> {
+    /// Returns a measurement value.
     fn measure<R>(&self, records: R, cfg: &GridConfig) -> usize
     where
         R: Records;
 }
 
-impl<T> Measurment<T> for usize {
+impl<T> Measurement<T> for usize {
     fn measure<R>(&self, _: R, _: &GridConfig) -> usize {
         *self
     }
@@ -29,7 +29,7 @@ impl<T> Measurment<T> for usize {
 #[derive(Debug)]
 pub struct Max;
 
-impl Measurment<Width> for Max {
+impl Measurement<Width> for Max {
     fn measure<R>(&self, records: R, cfg: &GridConfig) -> usize
     where
         R: Records,
@@ -42,7 +42,7 @@ impl Measurment<Width> for Max {
     }
 }
 
-impl Measurment<Height> for Max {
+impl Measurement<Height> for Max {
     fn measure<R>(&self, records: R, _: &GridConfig) -> usize
     where
         R: Records,
@@ -58,7 +58,7 @@ impl Measurment<Height> for Max {
 #[derive(Debug)]
 pub struct Min;
 
-impl Measurment<Width> for Min {
+impl Measurement<Width> for Min {
     fn measure<R>(&self, records: R, cfg: &GridConfig) -> usize
     where
         R: Records,
@@ -71,7 +71,7 @@ impl Measurment<Width> for Min {
     }
 }
 
-impl Measurment<Height> for Min {
+impl Measurement<Height> for Min {
     fn measure<R>(&self, records: R, _: &GridConfig) -> usize
     where
         R: Records,
@@ -87,7 +87,7 @@ impl Measurment<Height> for Min {
 #[derive(Debug)]
 pub struct Percent(pub usize);
 
-impl Measurment<Width> for Percent {
+impl Measurement<Width> for Percent {
     fn measure<R>(&self, records: R, cfg: &GridConfig) -> usize
     where
         R: Records,
@@ -97,7 +97,7 @@ impl Measurment<Width> for Percent {
     }
 }
 
-impl Measurment<Height> for Percent {
+impl Measurement<Height> for Percent {
     fn measure<R>(&self, records: R, cfg: &GridConfig) -> usize
     where
         R: Records,
diff --git a/src/features/mod.rs b/src/features/mod.rs
index 1d61118..f37cf2c 100644
--- a/src/features/mod.rs
+++ b/src/features/mod.rs
@@ -5,7 +5,7 @@ pub mod height;
 #[allow(unreachable_pub)]
 pub mod highlight;
 pub mod locator;
-pub mod measurment;
+pub mod measurement;
 pub mod peaker;
 pub mod shadow;
 pub mod style;
diff --git a/src/features/style/span_border_correction.rs b/src/features/style/span_border_correction.rs
index 95da815..7a4f907 100644
--- a/src/features/style/span_border_correction.rs
+++ b/src/features/style/span_border_correction.rs
@@ -7,7 +7,7 @@ use papergrid::{records::Records, Position};
 
 use crate::{Table, TableOption};
 
-/// A correctnes function of style for [`Table`] which has [`Span`]s.
+/// A correctness function of style for [`Table`] which has [`Span`]s.
 ///
 /// See [`Style::correct_spans`].
 ///
diff --git a/src/features/style/style.rs b/src/features/style/style.rs
index 3b70fa9..60e0742 100644
--- a/src/features/style/style.rs
+++ b/src/features/style/style.rs
@@ -104,7 +104,7 @@ use super::{HorizontalLine, Line, VerticalLine};
 /// It tries to limit an controlling a valid state of it.
 /// It doesn't allow to call method [`Style::top_left_corner`] unless [`Style::left`] and [`Style::top`] is set.
 ///
-/// You can turn [`Style`] into [`RawStyle`] to have more controll using [`Into`] implementation.
+/// You can turn [`Style`] into [`RawStyle`] to have more control using [`Into`] implementation.
 ///
 /// # Example
 ///
@@ -1178,7 +1178,7 @@ const fn create_borders(
     }
 }
 
-/// An interator which limits [`Line`] influence on iterations over lines for in [`Style`].
+/// An iterator which limits [`Line`] influence on iterations over lines for in [`Style`].
 #[derive(Debug, Clone)]
 pub struct HorizontalLineIter<I> {
     iter: I,
@@ -1227,7 +1227,7 @@ where
     }
 }
 
-/// An interator which limits [`Line`] influence on iterations over lines for in [`Style`].
+/// An iterator which limits [`Line`] influence on iterations over lines for in [`Style`].
 #[derive(Debug, Clone)]
 pub struct VerticalLineIter<I> {
     iter: I,
diff --git a/src/features/width/justify.rs b/src/features/width/justify.rs
index 5a26e2f..72828e4 100644
--- a/src/features/width/justify.rs
+++ b/src/features/width/justify.rs
@@ -3,7 +3,7 @@
 use papergrid::records::{Records, RecordsMut};
 
 use crate::{
-    measurment::{Max, Measurment, Min},
+    measurement::{Max, Measurement, Min},
     CellOption, Table, TableOption, Width,
 };
 
@@ -45,7 +45,7 @@ pub struct Justify<W> {
 
 impl<W> Justify<W>
 where
-    W: Measurment<Width>,
+    W: Measurement<Width>,
 {
     /// Creates a new [`Justify`] instance.
     ///
@@ -73,7 +73,7 @@ impl Justify<Min> {
 
 impl<W, R> TableOption<R> for Justify<W>
 where
-    W: Measurment<Width>,
+    W: Measurement<Width>,
     R: Records + RecordsMut<String>,
 {
     fn change(&mut self, table: &mut Table<R>) {
diff --git a/src/features/width/min_width.rs b/src/features/width/min_width.rs
index f0f756c..5b1c2a4 100644
--- a/src/features/width/min_width.rs
+++ b/src/features/width/min_width.rs
@@ -9,7 +9,7 @@ use papergrid::{
 };
 
 use crate::{
-    measurment::Measurment,
+    measurement::Measurement,
     peaker::{Peaker, PriorityNone},
     CellOption, Table, TableOption, Width,
 };
@@ -60,7 +60,7 @@ pub struct MinWidth<W = usize, P = PriorityNone> {
 
 impl<W> MinWidth<W>
 where
-    W: Measurment<Width>,
+    W: Measurement<Width>,
 {
     /// Creates a new instance of [`MinWidth`].
     pub fn new(width: W) -> Self {
@@ -101,7 +101,7 @@ impl<W, P> MinWidth<W, P> {
 
 impl<W, R> CellOption<R> for MinWidth<W>
 where
-    W: Measurment<Width>,
+    W: Measurement<Width>,
     R: Records + RecordsMut<String>,
 {
     fn change_cell(&mut self, table: &mut Table<R>, entity: Entity) {
@@ -128,7 +128,7 @@ where
 
 impl<W, P, R> TableOption<R> for MinWidth<W, P>
 where
-    W: Measurment<Width>,
+    W: Measurement<Width>,
     P: Peaker,
     R: Records + RecordsMut<String>,
 {
diff --git a/src/features/width/mod.rs b/src/features/width/mod.rs
index 53d9198..9961f39 100644
--- a/src/features/width/mod.rs
+++ b/src/features/width/mod.rs
@@ -38,7 +38,7 @@ mod truncate;
 mod width_list;
 mod wrap;
 
-use crate::measurment::Measurment;
+use crate::measurement::Measurement;
 
 pub use self::{
     justify::Justify,
@@ -110,7 +110,7 @@ impl Width {
     /// Returns a [`Wrap`] structure.
     pub fn wrap<W>(width: W) -> Wrap<W>
     where
-        W: Measurment<Width>,
+        W: Measurement<Width>,
     {
         Wrap::new(width)
     }
@@ -118,7 +118,7 @@ impl Width {
     /// Returns a [`Truncate`] structure.
     pub fn truncate<W>(width: W) -> Truncate<'static, W>
     where
-        W: Measurment<Width>,
+        W: Measurement<Width>,
     {
         Truncate::new(width)
     }
@@ -126,7 +126,7 @@ impl Width {
     /// Returns a [`MinWidth`] structure.
     pub fn increase<W>(width: W) -> MinWidth<W>
     where
-        W: Measurment<Width>,
+        W: Measurement<Width>,
     {
         MinWidth::new(width)
     }
@@ -134,7 +134,7 @@ impl Width {
     /// Returns a [`Justify`] structure.
     pub fn justify<W>(width: W) -> Justify<W>
     where
-        W: Measurment<Width>,
+        W: Measurement<Width>,
     {
         Justify::new(width)
     }
diff --git a/src/features/width/truncate.rs b/src/features/width/truncate.rs
index 6ce1a94..ac06614 100644
--- a/src/features/width/truncate.rs
+++ b/src/features/width/truncate.rs
@@ -11,7 +11,7 @@ use papergrid::{
 
 use crate::{
     peaker::{Peaker, PriorityNone},
-    width::{count_borders, get_table_widths, get_table_widths_with_total, Measurment},
+    width::{count_borders, get_table_widths, get_table_widths_with_total, Measurement},
     CellOption, Table, TableOption, Width,
 };
 
@@ -72,7 +72,7 @@ pub enum SuffixLimit {
 
 impl<W> Truncate<'static, W>
 where
-    W: Measurment<Width>,
+    W: Measurement<Width>,
 {
     /// Creates a [`Truncate`] object
     pub fn new(width: W) -> Truncate<'static, W> {
@@ -150,7 +150,7 @@ impl<'a, W, P> Truncate<'a, W, P> {
 
 impl<W, P, R> CellOption<R> for Truncate<'_, W, P>
 where
-    W: Measurment<Width>,
+    W: Measurement<Width>,
     R: Records + RecordsMut<String>,
 {
     fn change_cell(&mut self, table: &mut Table<R>, entity: Entity) {
@@ -201,7 +201,7 @@ where
             let records = table.get_records();
             let text = records.get_text(pos);
             // todo: Think about it.
-            //       We could eliminate this allcation if we would be allowed to cut '\t' with unknown characters.
+            //       We could eliminate this allocation if we would be allowed to cut '\t' with unknown characters.
             //       Currently we don't do that.
             let text = papergrid::util::replace_tab(text, table.get_config().get_tab_width());
             let text = truncate_text(&text, width, set_width, &suffix, suffix_color_try_keeping)
@@ -217,7 +217,7 @@ where
 
 impl<W, P, R> TableOption<R> for Truncate<'_, W, P>
 where
-    W: Measurment<Width>,
+    W: Measurement<Width>,
     P: Peaker,
     R: Records + RecordsMut<String>,
 {
diff --git a/src/features/width/wrap.rs b/src/features/width/wrap.rs
index 7a4b80c..d41a396 100644
--- a/src/features/width/wrap.rs
+++ b/src/features/width/wrap.rs
@@ -11,7 +11,7 @@ use papergrid::{
 };
 
 use crate::{
-    measurment::Measurment,
+    measurement::Measurement,
     peaker::{Peaker, PriorityNone},
     CellOption, Table, TableOption, Width,
 };
@@ -48,7 +48,7 @@ pub struct Wrap<W = usize, P = PriorityNone> {
 
 impl<W> Wrap<W>
 where
-    W: Measurment<Width>,
+    W: Measurement<Width>,
 {
     /// Creates a [`Wrap`] object
     pub fn new(width: W) -> Self {
@@ -93,7 +93,7 @@ impl<W, P> Wrap<W, P> {
 
 impl<W, P, R> CellOption<R> for Wrap<W, P>
 where
-    W: Measurment<Width>,
+    W: Measurement<Width>,
     R: Records + RecordsMut<String>,
 {
     fn change_cell(&mut self, table: &mut Table<R>, entity: Entity) {
@@ -110,7 +110,7 @@ where
 
             let text = records.get_text(pos);
             // todo: Think about it.
-            //       We could eliminate this allcation if we would be allowed to cut '\t' with unknown characters.
+            //       We could eliminate this allocation if we would be allowed to cut '\t' with unknown characters.
             //       Currently we don't do that.
             let text = papergrid::util::replace_tab(text, table.get_config().get_tab_width());
             let wrapped = wrap_text(&text, width, self.keep_words);
@@ -133,7 +133,7 @@ where
 
 impl<W, P, R> TableOption<R> for Wrap<W, P>
 where
-    W: Measurment<Width>,
+    W: Measurement<Width>,
     P: Peaker,
     R: Records + RecordsMut<String>,
 {
diff --git a/src/lib.rs b/src/lib.rs
index 7487320..859eff1 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -117,7 +117,7 @@
 //! #[derive(Tabled)]
 //! enum Domain {
 //!     Security,
-//!     Embeded,
+//!     Embedded,
 //!     Frontend,
 //!     Unknown,
 //! }
@@ -126,7 +126,7 @@
 //! struct Developer(#[tabled(rename = "name")] &'static str);
 //!     
 //! let data = vec![
-//!     (Developer("Terri Kshlerin"), Domain::Embeded),
+//!     (Developer("Terri Kshlerin"), Domain::Embedded),
 //!     (Developer("Catalina Dicki"), Domain::Security),
 //!     (Developer("Jennie Schmeler"), Domain::Frontend),
 //!     (Developer("Maxim Zhiburt"), Domain::Unknown),
@@ -140,12 +140,12 @@
 //! assert_eq!(
 //!     table,
 //!     concat!(
-//!         " name            | Security | Embeded | Frontend | Unknown \n",
-//!         "-----------------+----------+---------+----------+---------\n",
-//!         " Terri Kshlerin  |          |    +    |          |         \n",
-//!         " Catalina Dicki  |    +     |         |          |         \n",
-//!         " Jennie Schmeler |          |         |    +     |         \n",
-//!         " Maxim Zhiburt   |          |         |          |    +    "
+//!         " name            | Security | Embedded | Frontend | Unknown \n",
+//!         "-----------------+----------+----------+----------+---------\n",
+//!         " Terri Kshlerin  |          |    +     |          |         \n",
+//!         " Catalina Dicki  |    +     |          |          |         \n",
+//!         " Jennie Schmeler |          |          |    +     |         \n",
+//!         " Maxim Zhiburt   |          |          |          |    +    "
 //!     )
 //! );
 //! ```
@@ -264,7 +264,7 @@ pub use crate::{
         highlight::Highlight,
         locator,
         margin::Margin,
-        measurment, merge,
+        measurement, merge,
         padding::Padding,
         panel::{Footer, Header, Panel},
         peaker,
diff --git a/table_to_html/README.md b/table_to_html/README.md
index 7045e0f..64cb037 100644
--- a/table_to_html/README.md
+++ b/table_to_html/README.md
@@ -3,7 +3,7 @@
 Provides a interface to convert a `tabled::Table` into a HTML table (`<table>`).
 
 Because of the specifics of HTML it's not considered to be the best approach to supply custom CSS for the table.
-Istead of that you can set a custom id for the table and use your on CSS.
+Instead of that you can set a custom id for the table and use your on CSS.
 
 # Example
 
diff --git a/table_to_html/src/lib.rs b/table_to_html/src/lib.rs
index 53e4a97..8c6c4c9 100644
--- a/table_to_html/src/lib.rs
+++ b/table_to_html/src/lib.rs
@@ -11,7 +11,7 @@
 //! The library provides a interface to build a HTML table (`<table>`) from a [`Table`].
 //!
 //! Because of the specifics of HTML it's not considered to be the best approach to supply custom CSS for the table.
-//! Istead of that you can set a custom id for the table and use your on CSS.
+//! Instead of that you can set a custom id for the table and use your on CSS.
 //!
 //! # Example
 //!
@@ -121,9 +121,9 @@ pub struct HtmlTable<T = Table> {
     id: String,
     border_size: usize,
     unit: Unit,
-    custom_table_atributes: Vec<Attr<'static, String>>,
-    custom_td_atributes: Vec<Attr<'static, String>>,
-    custom_tr_atributes: Vec<Attr<'static, String>>,
+    custom_table_attributes: Vec<Attr<'static, String>>,
+    custom_td_attributes: Vec<Attr<'static, String>>,
+    custom_tr_attributes: Vec<Attr<'static, String>>,
     custom_cell_print: Option<DynCellPrint<T>>,
     table: T,
 }
@@ -136,7 +136,7 @@ impl<T> HtmlTable<T> {
         self.id = id.into();
     }
 
-    /// Set a unit measurment which will be used for padding set.
+    /// Set a unit measurement which will be used for padding set.
     pub fn set_unit(&mut self, unit: Unit) {
         self.unit = unit;
     }
@@ -154,7 +154,7 @@ impl<T> HtmlTable<T> {
         let val = value.into();
         let attr = Attr::new(key, val);
 
-        self.custom_table_atributes.push(attr);
+        self.custom_table_attributes.push(attr);
     }
 
     /// Adds an attribute to all `<td>` inside a `<table>`.
@@ -163,7 +163,7 @@ impl<T> HtmlTable<T> {
         let val = value.into();
         let attr = Attr::new(key, val);
 
-        self.custom_td_atributes.push(attr);
+        self.custom_td_attributes.push(attr);
     }
 
     /// Adds an attribute to all `<tr>` inside a `<table>`.
@@ -172,7 +172,7 @@ impl<T> HtmlTable<T> {
         let val = value.into();
         let attr = Attr::new(key, val);
 
-        self.custom_tr_atributes.push(attr);
+        self.custom_tr_attributes.push(attr);
     }
 
     /// Overrides cell output to the given function.
@@ -194,9 +194,9 @@ impl<R> From<Table<R>> for HtmlTable<Table<R>> {
             table,
             border_size: 1,
             unit: Unit::Rem,
-            custom_table_atributes: Vec::new(),
-            custom_td_atributes: Vec::new(),
-            custom_tr_atributes: Vec::new(),
+            custom_table_attributes: Vec::new(),
+            custom_td_attributes: Vec::new(),
+            custom_tr_attributes: Vec::new(),
             custom_cell_print: None,
         }
     }
@@ -208,9 +208,9 @@ impl fmt::Debug for HtmlTable {
             .field("id", &self.id)
             .field("border_size", &self.border_size)
             .field("unit", &self.unit)
-            .field("custom_table_atributes", &self.custom_table_atributes)
-            .field("custom_td_atributes", &self.custom_td_atributes)
-            .field("custom_tr_atributes", &self.custom_tr_atributes)
+            .field("custom_table_attributes", &self.custom_table_attributes)
+            .field("custom_td_attributes", &self.custom_td_attributes)
+            .field("custom_tr_attributes", &self.custom_tr_attributes)
             .field(
                 "custom_cell_print",
                 &self
@@ -234,9 +234,9 @@ where
             &self.id,
             self.unit,
             self.border_size,
-            &self.custom_table_atributes,
-            &self.custom_tr_atributes,
-            &self.custom_td_atributes,
+            &self.custom_table_attributes,
+            &self.custom_tr_attributes,
+            &self.custom_td_attributes,
             &self.custom_cell_print,
         )
     }
@@ -676,13 +676,13 @@ where
     }
 }
 
-/// A type which represents either a text which will be emited inside `<p></p>` tags or
+/// A type which represents either a text which will be emitted inside `<p></p>` tags or
 /// A custom HTML which will be left as it is.
 #[derive(Debug)]
 pub enum Paragraph {
     /// Text inside paragraphs.
     General(String),
-    /// HTML which will be emited.
+    /// HTML which will be emitted.
     NoEdit(String),
 }
 


Test patch:
diff --git a/papergrid/tests/styling.rs b/papergrid/tests/styling.rs
index d590f9b..d263f5e 100644
--- a/papergrid/tests/styling.rs
+++ b/papergrid/tests/styling.rs
@@ -232,7 +232,7 @@ test_table!(
 );
 
 test_table!(
-    when_border_is_not_complet_default_char_is_used_test,
+    when_border_is_not_complete_default_char_is_used_test,
     grid(2, 2)
         .config(|cfg| {
             cfg.set_borders(Borders {
diff --git a/tests/derive_test.rs b/tests/derive_test.rs
index f9da3a7..664fd93 100644
--- a/tests/derive_test.rs
+++ b/tests/derive_test.rs
@@ -117,7 +117,7 @@ macro_rules! test_struct {
 #[allow(non_camel_case_types)]
 type sstr = &'static str;
 
-mod tupple {
+mod tuple {
     use super::*;
 
     test_tuple!(basic, t: { u8 sstr }, init: { 0 "v2" }, expected: ["0", "1"], ["0", "v2"],);
@@ -225,11 +225,11 @@ mod enum_ {
 
     test_enum!(
         basic,
-        t: { Security Embeded Frontend Unknown },
-        headers: ["Security", "Embeded", "Frontend", "Unknown"],
+        t: { Security Embedded Frontend Unknown },
+        headers: ["Security", "Embedded", "Frontend", "Unknown"],
         tests:
             Security => ["+", "", "", ""],
-            Embeded => ["", "+", "", ""],
+            Embedded => ["", "+", "", ""],
             Frontend => ["", "", "+", ""],
             Unknown => ["", "", "", "+"],
     );
@@ -443,7 +443,7 @@ mod enum_ {
     );
 
     test_enum!(
-        rename_all_variant_inhirited_inside_struct_enum_overiden_by_rename,
+        rename_all_variant_inhirited_inside_struct_enum_overridden_by_rename,
         t: #[tabled(rename_all = "snake_case")] {
             #[tabled(inline, rename_all = "snake_case")]
             VariantName1 {
@@ -667,7 +667,7 @@ mod structure {
         expected: ["f1", "F2"], ["0", "v2"]
     );
     test_struct!(
-        rename_all_field_overriden_by_rename,
+        rename_all_field_overridden_by_rename,
         t: { #[tabled(rename_all = "lowercase", rename = "Hello")] f1: u8, #[tabled(rename_all = "UPPERCASE")] f2: sstr }
         init: { f1: 0, f2: "v2" }
         expected: ["Hello", "F2"], ["0", "v2"]
diff --git a/tests/highlingt_test.rs b/tests/highlingt_test.rs
index c4c84f2..ee6af1a 100644
--- a/tests/highlingt_test.rs
+++ b/tests/highlingt_test.rs
@@ -9,7 +9,7 @@ use crate::util::{create_table, static_table, test_table};
 mod util;
 
 test_table!(
-    highlingt_object_exceeds_bounderies,
+    highlingt_object_exceeds_boundaries,
     create_table::<3, 3>().with(Style::modern()).with(Highlight::new(Cell(1000, 0), Border::filled('+'))),
     "┌───┬──────────┬──────────┬──────────┐"
     "│ N │ column 0 │ column 1 │ column 2 │"
diff --git a/tests/panel_test.rs b/tests/panel_test.rs
index 31395a1..b4ddee4 100644
--- a/tests/panel_test.rs
+++ b/tests/panel_test.rs
@@ -20,7 +20,7 @@ test_table!(
 );
 
 test_table!(
-    highligt_panel_0,
+    highlight_panel_0,
     create_table::<3, 3>()
         .with(Panel::horizontal(0).text("Linux Distributions"))
         .with(Style::psql())
@@ -35,7 +35,7 @@ test_table!(
 );
 
 test_table!(
-    highligt_panel_1,
+    highlight_panel_1,
     create_table::<3, 3>()
         .with(Panel::horizontal(0).text("Linux Distributions"))
         .with(Style::psql())
@@ -167,7 +167,7 @@ test_table!(
 );
 
 test_table!(
-    panel_style_change_corect,
+    panel_style_change_correct,
     new_table(&[(0, 1)])
         .with(Panel::horizontal(0).text("Numbers"))
         .with(Style::modern().top_intersection('─').horizontals([HorizontalLine::new(1, Style::modern().get_horizontal()).intersection(Some('┬'))]))
diff --git a/tests/span_test.rs b/tests/span_test.rs
index 3561159..e70f2e3 100644
--- a/tests/span_test.rs
+++ b/tests/span_test.rs
@@ -230,7 +230,7 @@ test_table!(
 );
 
 test_table!(
-    spaned_columns_with_colision,
+    spaned_columns_with_collision,
     new_table([["just 1 column"; 5]; 5])
         .with(Style::modern())
         .with(
@@ -389,7 +389,7 @@ test_table!(
 #[test]
 #[should_panic]
 #[ignore = "span zero not yet decided"]
-fn span_column_exceeds_boundries_test() {
+fn span_column_exceeds_boundaries_test() {
     // todo: determine if it's the right behaiviour
 
     create_table::<3, 3>()
@@ -399,7 +399,7 @@ fn span_column_exceeds_boundries_test() {
 
 #[test]
 #[ignore = "span zero not yet decided"]
-fn span_cell_exceeds_boundries_test() {
+fn span_cell_exceeds_boundaries_test() {
     // these tests shows that exiding boundaries causes invalid behaiviour
     //
     // todo: determine if it's the right behaiviour
diff --git a/tests/table_test.rs b/tests/table_test.rs
index 2f51c0e..77aaa18 100644
--- a/tests/table_test.rs
+++ b/tests/table_test.rs
@@ -618,7 +618,7 @@ mod derived {
             #[derive(Tabled)]
             enum Domain {
                 Security,
-                Embeded,
+                Embedded,
                 Frontend,
                 Unknown,
             }
@@ -627,23 +627,23 @@ mod derived {
             struct Developer(#[tabled(rename = "name")] &'static str);
 
             vec![
-                (Developer("Terri Kshlerin"), Domain::Embeded),
+                (Developer("Terri Kshlerin"), Domain::Embedded),
                 (Developer("Catalina Dicki"), Domain::Security),
                 (Developer("Jennie Schmeler"), Domain::Frontend),
                 (Developer("Maxim Zhiburt"), Domain::Unknown),
             ]
         }),
-        "+-----------------+----------+---------+----------+---------+"
-        "| name            | Security | Embeded | Frontend | Unknown |"
-        "+-----------------+----------+---------+----------+---------+"
-        "| Terri Kshlerin  |          | +       |          |         |"
-        "+-----------------+----------+---------+----------+---------+"
-        "| Catalina Dicki  | +        |         |          |         |"
-        "+-----------------+----------+---------+----------+---------+"
-        "| Jennie Schmeler |          |         | +        |         |"
-        "+-----------------+----------+---------+----------+---------+"
-        "| Maxim Zhiburt   |          |         |          | +       |"
-        "+-----------------+----------+---------+----------+---------+"
+        "+-----------------+----------+----------+----------+---------+"
+        "| name            | Security | Embedded | Frontend | Unknown |"
+        "+-----------------+----------+----------+----------+---------+"
+        "| Terri Kshlerin  |          | +        |          |         |"
+        "+-----------------+----------+----------+----------+---------+"
+        "| Catalina Dicki  | +        |          |          |         |"
+        "+-----------------+----------+----------+----------+---------+"
+        "| Jennie Schmeler |          |          | +        |         |"
+        "+-----------------+----------+----------+----------+---------+"
+        "| Maxim Zhiburt   |          |          |          | +       |"
+        "+-----------------+----------+----------+----------+---------+"
 
     );
 
@@ -653,7 +653,7 @@ mod derived {
             #[derive(Tabled)]
             enum Domain {
                 Security,
-                Embeded,
+                Embedded,
                 Frontend,
                 Unknown,
             }
@@ -662,23 +662,23 @@ mod derived {
             struct Developer(#[tabled(rename = "name")] &'static str);
 
             vec![
-                (Developer("Terri Kshlerin"), Domain::Embeded),
+                (Developer("Terri Kshlerin"), Domain::Embedded),
                 (Developer("Catalina Dicki"), Domain::Security),
                 (Developer("Jennie Schmeler"), Domain::Frontend),
                 (Developer("Maxim Zhiburt"), Domain::Unknown),
             ]
         }),
-        "+-----------------+----------+---------+----------+---------+"
-        "| name            | Security | Embeded | Frontend | Unknown |"
-        "+-----------------+----------+---------+----------+---------+"
-        "| Terri Kshlerin  |          | +       |          |         |"
-        "+-----------------+----------+---------+----------+---------+"
-        "| Catalina Dicki  | +        |         |          |         |"
-        "+-----------------+----------+---------+----------+---------+"
-        "| Jennie Schmeler |          |         | +        |         |"
-        "+-----------------+----------+---------+----------+---------+"
-        "| Maxim Zhiburt   |          |         |          | +       |"
-        "+-----------------+----------+---------+----------+---------+"
+        "+-----------------+----------+----------+----------+---------+"
+        "| name            | Security | Embedded | Frontend | Unknown |"
+        "+-----------------+----------+----------+----------+---------+"
+        "| Terri Kshlerin  |          | +        |          |         |"
+        "+-----------------+----------+----------+----------+---------+"
+        "| Catalina Dicki  | +        |          |          |         |"
+        "+-----------------+----------+----------+----------+---------+"
+        "| Jennie Schmeler |          |          | +        |         |"
+        "+-----------------+----------+----------+----------+---------+"
+        "| Maxim Zhiburt   |          |          |          | +       |"
+        "+-----------------+----------+----------+----------+---------+"
     );
 
     test_table!(