Skip to content

Commit

Permalink
fix(screen): Breaking external API for num_lines function
Browse files Browse the repository at this point in the history
  • Loading branch information
AMythicDev committed Mar 6, 2024
1 parent 36da3ca commit f906025
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/screen/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ impl Screen {
}
/// Get the number of [`Lines`](std::str::Lines) in the text.
#[must_use]
pub const fn get_line_count(&self) -> usize {
pub const fn line_count(&self) -> usize {
self.line_count
}
/// Returns all the [Rows] within the bounds
Expand Down

0 comments on commit f906025

Please sign in to comment.