Possibly uninit binding, how do i make a net against this

⚓ Rust    📅 2026-01-19    👤 surdeus    👁️ 15      

surdeus

Warning

This post was published 83 days ago. The information described in this article may have changed.
if ncnd.location == Position::new(0,0) {
      self.wander();

      return
}

used to get the error, however how do i create a safety net to enter the if scope if uninit?
pretty much does ncnd have a value? -> no: wander

3 posts - 2 participants

Read full topic

🏷️ Rust_feed