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.
ref
1 parent 81d5ae6 commit 52f7dceCopy full SHA for 52f7dce
src/descriptor/tr.rs
@@ -384,14 +384,14 @@ where
384
})
385
}
386
2 => {
387
- let ref key = top.args[0];
+ let key = &top.args[0];
388
if !key.args.is_empty() {
389
return Err(Error::Unexpected(format!(
390
"#{} script associated with `key-path` while parsing taproot descriptor",
391
key.args.len()
392
)));
393
394
- let ref tree = top.args[1];
+ let tree = &top.args[1];
395
let ret = parse_tr_script_spend(tree)?;
396
Ok(Tr {
397
internal_key: expression::terminal(key, Pk::from_str)?,
0 commit comments