Skip to content

Commit d9130e5

Browse files
authored
Merge pull request #1 from petrochenkov/master
Fix build on nightly
2 parents 2c3599d + 74eed8d commit d9130e5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/macros.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ macro_rules! semop_lock {
118118
($id: expr) => ({
119119
semop!($id, true)
120120
});
121-
($id: expr, $index) => ({
121+
($id: expr, $index: expr) => ({
122122
semop!($id, $index, true)
123123
});
124124
($id: expr, $index: expr, $nbop: expr) => ({
@@ -133,7 +133,7 @@ macro_rules! semop_unlock {
133133
($id: expr) => ({
134134
semop!($id, false)
135135
});
136-
($id: expr, $index) => ({
136+
($id: expr, $index: expr) => ({
137137
semop!($id, $index, false)
138138
});
139139
($id: expr, $index: expr, $nbop: expr) => ({

0 commit comments

Comments
 (0)