Skip to content

Commit

Permalink
Fix doc test
Browse files Browse the repository at this point in the history
  • Loading branch information
Techassi committed Jul 28, 2023
1 parent 044cf03 commit c4bf3ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/table.rs
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ impl Table {
/// let mut table = Table::new();
/// table.set_header(vec!["Col 1", "Col 2", "Col 3"]);
///
/// assert_eq!(table.col_count(), 3);
/// assert_eq!(table.column_count(), 3);
/// ```
pub fn column_count(&mut self) -> usize {
self.discover_columns();
Expand Down

0 comments on commit c4bf3ad

Please sign in to comment.