Fix the panic message.
This commit is contained in:
parent
30ae64e51f
commit
d330dc8c11
@ -51,7 +51,7 @@ impl FixedSizeEncoding for Option<$ty> {
|
|||||||
}
|
}
|
||||||
match b[0] - 1 {
|
match b[0] - 1 {
|
||||||
$(${index()} => Some($($pat)*),)*
|
$(${index()} => Some($($pat)*),)*
|
||||||
_ => panic!("Unexpected ImplPolarity code: {:?}", b[0]),
|
_ => panic!("Unexpected {} code: {:?}", stringify!($ty), b[0]),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user