Skip to content

Commit b84edf3

Browse files
committed
todo for the error_codes
1 parent d8435aa commit b84edf3

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

src/commands/explain.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ use std::{
99
use tokio::sync::RwLock;
1010
use tracing::info;
1111

12+
// TODO! Make the load_error_codes function when the array is empty download the files
13+
// from github using the github api and then applying the formatting for each file.
14+
1215
static ERROR_CODES: OnceLock<RwLock<Arc<Vec<String>>>> = OnceLock::new();
1316

1417
async fn load_error_codes() -> Arc<Vec<String>> {

src/common/split_content.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@ pub fn split_content(content: String) -> Vec<String> {
1515
end = (start + EMBED_DESCRIPTION_SIZE).min(content.len());
1616
}
1717

18-
println!("{start}, {end}");
19-
2018
result.push(content[start..end].to_string());
2119
start = end;
2220
}

0 commit comments

Comments
 (0)