@lyrical_logical
Rust 基礎勉強会
誰や
Disclaimer
Rust is not a particularly original language,
with design elements coming from a wide range of sources.
Some of these are listed below
(bold は自分が加えました)
fn implicit(x: &i32) { ... }
fn explicit<'a>(x: &'a i32) { ... }
fn bad() {
let mut x = 0;
let imm_ref = &x;
let mut_ref = &mut x; // error
}