update comment

This commit is contained in:
yggverse 2024-11-27 23:05:15 +02:00
parent 45f82e7837
commit 649d8f92f6

View File

@ -58,7 +58,7 @@ impl Memory {
pub fn match_priority(&self, request: &str) -> Option<Auth> { pub fn match_priority(&self, request: &str) -> Option<Auth> {
let mut result = Vec::new(); let mut result = Vec::new();
// Get all records starts with `scope` cached // Get all records starts with `scope`
for (scope, &profile_identity_gemini_id) in self.index.borrow().iter() { for (scope, &profile_identity_gemini_id) in self.index.borrow().iter() {
if request.starts_with(scope) { if request.starts_with(scope) {
result.push(Auth { result.push(Auth {