aboutsummaryrefslogtreecommitdiff
path: root/src/helper/init.rs
diff options
context:
space:
mode:
authorOxbian <oxbian@mailbox.org>2025-05-17 23:30:07 -0400
committerOxbian <oxbian@mailbox.org>2025-05-17 23:30:07 -0400
commitfecb211130ec487c7c617d28419c6d0097f19783 (patch)
treeade91c5eefb7d9af6f68357f897d4b670f325f81 /src/helper/init.rs
parentdd9808b10c98c28a493eac78742fc403efc70e32 (diff)
downloadNAI-fecb211130ec487c7c617d28419c6d0097f19783.tar.gz
NAI-fecb211130ec487c7c617d28419c6d0097f19783.zip
feat: wikipedia module
Diffstat (limited to 'src/helper/init.rs')
-rw-r--r--src/helper/init.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/helper/init.rs b/src/helper/init.rs
index 2e0537d..d004b34 100644
--- a/src/helper/init.rs
+++ b/src/helper/init.rs
@@ -10,5 +10,5 @@ pub fn warn(content: String) {
.open("log.txt")
.unwrap();
let utc: DateTime<Local> = Local::now();
- writeln!(file, "[{}] {}", utc, content);
+ writeln!(file, "[{}] {}", utc, content).unwrap();
}
ArKa projects. All rights to me, and your next child right arm.