feat: ref

This commit is contained in:
2025-05-11 00:32:44 +08:00
parent 561b9bf36a
commit f52687bc1e
5 changed files with 62 additions and 55 deletions

View File

@@ -17,7 +17,7 @@ pub struct AttrSet {
}
impl AttrSet {
pub fn empty() -> AttrSet {
pub fn empty() -> Self {
AttrSet {
data: HashTrieMapSync::new_sync(),
}