You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session.
![Rustのパターンっぽいやつメモ](https://cdn-ak-scissors.b.st-hatena.com/image/square/1ef26f6cb4349557952890dbe3e567f7f98dc151/height=288;version=1;width=512/https%3A%2F%2Fgithub.githubassets.com%2Fassets%2Fgist-og-image-54fd7dc0713e.png)
Oct 11, 2015 The identity function looks like this in Rust: /// The identity function. fn id<T>(x: T) -> T { x } id returns the same value that is passed in: assert_eq!(1, id(1)); Beyond the obvious, it does some curious and fun things! You can test this blog post’s code in the Rust Playground. id Type Hints or Coerces let string = "hi".to_string(); // Coerce a &String to &str, with id: match id::
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く