Postări cu #rustcode

#rustcode

Postări publice de pe X care folosesc #rustcode.

Hashtaguri înrudite

  1. BitCraft@BitCraft_handle
    🦀 Writing cleaner if let chains in Rust? Some combos are magic, others won’t compile. Here’s what works, what doesn’t — and the slickest patterns pros use every day. Let’s break it down: #RustLang #RustTips #100DaysOfRust Thread 🧵
    Descarcă
    22733.7K
  2. BitCraft@BitCraft_handle
    @BitCraft_handle
    2️⃣ ❌ Multiple let bindings in one if? Nope (on stable) if let Some(x) = a && let Some(y) = b { ... } Doesn’t compile — stable Rust doesn't support multi-let chaining yet.
    101181
  3. BitCraft@BitCraft_handle
    @BitCraft_handle
    3️⃣ ✅ Want multi-pattern matching? Use tuple destructuring: if let (Some(x), Some(y)) = (a, b) { if y > 10 { println!("{x}, {y}"); } } Clean, expressive, and stable. #RustCode #DevTips
    104178
  4. DexMachina@DexMachinaNFT
    Does anyone know a #RustCode developer looking to collab on an #NFT project? I want to build with $CSPR, but I am more on the art and story side than the code side.
    5219
  5. Arată mai multe postări