mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-07-07 07:17:23 +00:00
Fix tons of warnings in newest nightly (#2784)
* Fix tons of warnings in newest nightly * Fix sr-api-macro doc tests
This commit is contained in:
@@ -703,7 +703,7 @@ mod tests {
|
||||
}
|
||||
|
||||
#[derive(Clone)]
|
||||
struct MockExecutable<'a>(Rc<Fn(MockCtx) -> VmExecResult + 'a>);
|
||||
struct MockExecutable<'a>(Rc<dyn Fn(MockCtx) -> VmExecResult + 'a>);
|
||||
|
||||
impl<'a> MockExecutable<'a> {
|
||||
fn new(f: impl Fn(MockCtx) -> VmExecResult + 'a) -> Self {
|
||||
|
||||
Reference in New Issue
Block a user