Skip to content

Commit

Permalink
[#209] clippy: 불필요한 addressof 제거
Browse files Browse the repository at this point in the history
  • Loading branch information
myyrakle committed Jan 1, 2025
1 parent ac9953c commit 03590e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rupring/src/di/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ impl DIContext {
}

pub fn register(&mut self, value: Box<dyn Any>) {
let type_id = (&*value).type_id();
let type_id = (*value).type_id();
if self.containers.contains_key(&type_id) {
return;
}
Expand Down

0 comments on commit 03590e5

Please sign in to comment.