Skip to content

Commit c33803b

Browse files
committed
Replace mac with matches
1 parent 44162ae commit c33803b

File tree

3 files changed

+12
-12
lines changed

3 files changed

+12
-12
lines changed

Cargo.lock

+9-9
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -106,8 +106,8 @@ take_mut = "=0.2.2"
106106
# 1行で書ける`macro_rules`
107107
defmac = "=0.2.1"
108108

109-
# シンプルなマクロの詰め合せ
110-
mac = "=0.1.1"
109+
# パターンを`bool`式に
110+
matches = "=0.1.8"
111111

112112
# `if`と`if let`を『まとめる』マクロ`if_chain!`
113113
if_chain = "=1.0.0"

examples/apg4b-a.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ use itertools as _;
1717
use itertools_num as _;
1818
use lazy_static as _;
1919
use libm as _;
20-
use mac as _;
2120
use maplit as _;
21+
use matches as _;
2222
use modtype as _;
2323
use nalgebra as _;
2424
use ndarray as _;

0 commit comments

Comments
 (0)