From 36331ec407f541f6209f270bfc0ffc2eb55836f3 Mon Sep 17 00:00:00 2001
From: licunlong <licunlong1@huawei.com>
Date: Wed, 28 Jun 2023 16:58:40 +0800
Subject: [PATCH] typo: fix clippies

---
 libs/basic/src/logger.rs | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/libs/basic/src/logger.rs b/libs/basic/src/logger.rs
index 8ee3ffa..3161513 100644
--- a/libs/basic/src/logger.rs
+++ b/libs/basic/src/logger.rs
@@ -207,7 +207,7 @@ impl log::Log for FileLogger {
 
 impl FileLogger {
     fn file_open(file_path: &PathBuf, file_mode: u32) -> File {
-        /* Panic if we cann't open a log file. */
+        /* Panic if we can't open a log file. */
         let dir = file_path.parent().unwrap();
         if !dir.exists() {
             fs::create_dir_all(dir).unwrap();
@@ -480,7 +480,6 @@ pub fn init_log(
             file_number,
         )));
         log::set_max_level(level);
-        return;
     }
 }
 
-- 
2.33.0

