1 parent d8435aa commit b84edf3Copy full SHA for b84edf3
2 files changed
src/commands/explain.rs
@@ -9,6 +9,9 @@ use std::{
9
use tokio::sync::RwLock;
10
use tracing::info;
11
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
+
15
static ERROR_CODES: OnceLock<RwLock<Arc<Vec<String>>>> = OnceLock::new();
16
17
async fn load_error_codes() -> Arc<Vec<String>> {
src/common/split_content.rs
@@ -15,8 +15,6 @@ pub fn split_content(content: String) -> Vec<String> {
end = (start + EMBED_DESCRIPTION_SIZE).min(content.len());
}
18
- println!("{start}, {end}");
19
-
20
result.push(content[start..end].to_string());
21
start = end;
22
0 commit comments