2024-01-14 automated rustfmt nightly

This commit is contained in:
Fmt Bot 2024-01-14 01:00:10 +00:00 committed by GitHub
parent 5e3d1295e0
commit e768c92ce3
1 changed files with 4 additions and 1 deletions

View File

@ -357,7 +357,10 @@ impl Script {
///
/// This method has potentially confusing semantics and an unclear purpose, so it's going to be
/// removed. Use `is_op_return` if you want `OP_RETURN` semantics.
#[deprecated(since = "TBD", note = "The method is not very useful, you might want `is_op_return`")]
#[deprecated(
since = "TBD",
note = "The method is not very useful, you might want `is_op_return`"
)]
#[inline]
pub fn is_provably_unspendable(&self) -> bool {
use crate::blockdata::opcodes::Class::{IllegalOp, ReturnOp};