Why reference a reference
⚓ Rust 📅 2025-08-15 👤 surdeus 👁️ 11Why
let x = 1;
let y = &x;
let z = y;
Instead of
let x = 1;
let y = &x;
let z = &x;
3 posts - 3 participants
🏷️ Rust_feedWhy
let x = 1;
let y = &x;
let z = y;
Instead of
let x = 1;
let y = &x;
let z = &x;
3 posts - 3 participants
🏷️ Rust_feed