feat: translate Chinese comments to English across codebase

This commit is contained in:
overtrue
2025-05-25 15:24:34 +08:00
parent d1a2f2939c
commit 9d90913697
11 changed files with 60 additions and 60 deletions
+2 -2
View File
@@ -94,7 +94,7 @@ where
self.clone().save_iam_formatter().await?;
self.clone().load().await?;
// 后台线程开启定时更新或者接收到信号更新
// Background thread starts periodic updates or receives signal updates
tokio::spawn({
let s = Arc::clone(&self);
async move {
@@ -142,7 +142,7 @@ where
Ok(())
}
// todo, 判断是否存在,是否可以重试
// TODO: Check if exists, whether retry is possible
#[tracing::instrument(level = "debug", skip(self))]
async fn save_iam_formatter(self: Arc<Self>) -> Result<()> {
let path = get_iam_format_file_path();