cl-structures::Interned: Change to_ref() from assoc. function to member function

(it's so much nicer)
This commit is contained in:
2025-03-12 01:16:51 -05:00
parent dcdb100a8a
commit 584207fc8c
6 changed files with 10 additions and 10 deletions

View File

@@ -938,7 +938,7 @@ mod path {
/// Checks whether this path refers to the sinkhole identifier, `_`
pub fn is_sinkhole(&self) -> bool {
if let [PathPart::Ident(id)] = self.parts.as_slice() {
if let "_" = Sym::to_ref(id) {
if let "_" = id.to_ref(){
return true;
}
}