@@ -396,9 +396,9 @@ impl ScriptContext for Segwitv0 {
396396/// In general, it is not recommended to use Bare descriptors
397397/// as they as strongly limited by standardness policies.
398398#[ derive( Debug , Clone , Eq , PartialEq , Ord , PartialOrd ) ]
399- pub enum Bare { }
399+ pub enum BareCtx { }
400400
401- impl ScriptContext for Bare {
401+ impl ScriptContext for BareCtx {
402402 fn check_terminal_non_malleable < Pk : MiniscriptKey , Ctx : ScriptContext > (
403403 _frag : & Terminal < Pk , Ctx > ,
404404 ) -> Result < ( ) , ScriptContextError > {
@@ -499,12 +499,12 @@ impl ScriptContext for NoChecks {
499499
500500/// Private Mod to prevent downstream from implementing this public trait
501501mod private {
502- use super :: { Bare , Legacy , NoChecks , Segwitv0 } ;
502+ use super :: { BareCtx , Legacy , NoChecks , Segwitv0 } ;
503503
504504 pub trait Sealed { }
505505
506506 // Implement for those same types, but no others.
507- impl Sealed for Bare { }
507+ impl Sealed for BareCtx { }
508508 impl Sealed for Legacy { }
509509 impl Sealed for Segwitv0 { }
510510 impl Sealed for NoChecks { }
0 commit comments