清理: 授权开关注释去箭头装饰符
This commit is contained in:
@@ -110,7 +110,7 @@ pub(crate) fn check_file_tool_auth(
|
||||
mod tests {
|
||||
use super::*;
|
||||
|
||||
/// bypass 开:白名单外路径 NeedsAuth → 直接 Authorized;bypass 关:行为不变(仍 NeedsAuth)。
|
||||
/// bypass 开:白名单外路径 NeedsAuth 时直接 Authorized;bypass 关:行为不变(仍 NeedsAuth)。
|
||||
#[test]
|
||||
fn test_bypass_on_needs_auth_becomes_authorized() {
|
||||
let allowed = crate::state::AllowedDirs::default();
|
||||
|
||||
Reference in New Issue
Block a user