Remove unused variable total_lines in file_ops.rs
This commit is contained in:
@@ -154,7 +154,6 @@ pub async fn execute_read_file<W: UiWriter>(
|
|||||||
|
|
||||||
let partial_content = &content[start_boundary..end_boundary];
|
let partial_content = &content[start_boundary..end_boundary];
|
||||||
let line_count = partial_content.lines().count();
|
let line_count = partial_content.lines().count();
|
||||||
let total_lines = content.lines().count();
|
|
||||||
|
|
||||||
// Format output based on whether truncation occurred
|
// Format output based on whether truncation occurred
|
||||||
if was_truncated {
|
if was_truncated {
|
||||||
|
|||||||
Reference in New Issue
Block a user