Making some changes to address warnings

Constants changed
This commit is contained in:
2025-03-16 15:15:31 -04:00
parent 7f5f546f65
commit e497ce11e0
4 changed files with 23 additions and 18 deletions

View File

@@ -58,7 +58,13 @@ impl Token {
}
// TODO: Implement
pub fn contains_scope(&self, des_scope: String) -> bool {
pub fn contains_scope(&self, des_scope: &String) -> bool {
let extracted_token: String = String::from("Token");
if extracted_token == *des_scope {
return true;
}
return false;
}
}