We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
パターンマッチングについて
fn main(){ let s:String = read(); let res = match &s[..] { "one" => 1, "two" => 2, "three" => 3, _ => -1, }; println!("{}", res); }
There was an error while loading. Please reload this page.