検索
Results of 1 - 2 of about 2 for shadowed (0.008 sec.)
- スコープとシャドーイング - Rust By Example 日本語版 11228
- Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2.
...
so, variable shadowing is allowed. fn main() { let shadowed_binding = 1; { println!("before being shadowed: {}...
", shadowed_binding); // This binding *shadows* the outer one...
let shadowed_binding = "abc"; println!("shadowed in inner block...
: {}", shadowed_binding); } println!("outside inner block: {}", sh...
- https://man.plustar.jp/rust/example/variable_bindings/scope.html - [similar]
- Rust By Example 日本語版 7485
- Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2.
...
so, variable shadowing is allowed. fn main() { let shadowed_binding = 1; { println!("before being shadowed: {}...
", shadowed_binding); // This binding *shadows* the outer one...
let shadowed_binding = "abc"; println!("shadowed in inner block...
: {}", shadowed_binding); } println!("outside inner block: {}", sh...
- https://man.plustar.jp/rust/example/print.html - [similar]
PREV
1
NEXT