2020-07-12から1日間の記事一覧
rustup self-update info: checking for self-updates info: downloading self-update info: rustup updated successfully to 1.22.1 error: could not remove 'rustup-bin' file: '...\rustup.exe' : permission denied VSCode がプロセスを掴んでいたので…
以前マクロの練習のためにHashMapやBTreeMapを生成するマクロを作った。 github.com マクロ箇所だけ抽出するとこんな感じ macro_rules! hash_map { ($($k:expr => $v:expr),*) => {{ let mut _m = std::collections::HashMap::new(); $(_m.insert($k, $v);)*…