Consumes ownership of this HIR expression and returns its underlying `HirKind`.
(mut self)
| 209 | /// Consumes ownership of this HIR expression and returns its underlying |
| 210 | /// `HirKind`. |
| 211 | pub fn into_kind(mut self) -> HirKind { |
| 212 | use std::mem; |
| 213 | mem::replace(&mut self.kind, HirKind::Empty) |
| 214 | } |
| 215 | |
| 216 | /// Returns an empty HIR expression. |
| 217 | /// |
no outgoing calls
no test coverage detected