Rust question about dereferencing #5032
-
Why does dereferencing bring benefits? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Obsolete comments. This is because when we use loop match, "self.field" Dereference causes the compiler to optimize loop match to match loop |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
Obsolete comments. This is because when we use loop match, "self.field" Dereference causes the compiler to optimize loop match to match loop