7
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

メリークリスマス!!

Rust xmasです(言いたかっただけ

初Rustなので作法もわかってませんが、npmにあったxmasを移植してみました

image.png

source

書いてみて

  • 文字列の扱いが慣れてないためか難しい
  • 型推論してくれるんだけど、constはよくわからなかった
  • rand::seq::SliceRandom便利だった

参考

7
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
7
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?