We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2518917 + 8ac5466 commit 6bc5bfcCopy full SHA for 6bc5bfc
src/lib.rs
@@ -522,7 +522,7 @@ macro_rules! rw_write{
522
Err(_) => return err!($error),
523
}
524
};
525
- ( $rw:expr, $rw:path, $( $arg:expr ),* ) => {
+ ( $rw:expr, $error:path, $( $arg:expr ),* ) => {
526
match $rw.write() {
527
Ok(guard) => guard,
528
Err(_) => return Err( $error( error_info!(), $( $arg, )* ) ),
@@ -563,7 +563,7 @@ macro_rules! rw_read{
563
564
565
566
567
match $rw.read() {
568
569
0 commit comments