docs: 将仓库代码注释统一为中文

This commit is contained in:
2026-09-10 00:40:56 +08:00
parent ee9dd926e5
commit 68dc78a45e
249 changed files with 707 additions and 900 deletions
+2 -2
View File
@@ -1,4 +1,4 @@
//! Fresh Community state checked against Host-pinned keys; never TOFU on refresh.
//! 根据 Host 固定密钥检查新的社区状态;刷新时绝不会 TOFU。
use crate::{
extension_package::Release,
workspace::{hash, HostError, Result},
@@ -413,7 +413,7 @@ mod tests {
} else {
"200 OK"
};
// No content length: exercise the streaming cap independently.
// 没有 Content-Length 时,单独验证流式传输上限。
write!(stream, "HTTP/1.1 {status}\r\nConnection: close\r\n\r\n").unwrap();
stream.write_all(&body).unwrap();
});