File tree Expand file tree Collapse file tree 1 file changed +0
-21
lines changed Expand file tree Collapse file tree 1 file changed +0
-21
lines changed Original file line number Diff line number Diff line change @@ -1036,27 +1036,6 @@ impl Deref for TxContext {
10361036 }
10371037}
10381038
1039- /// Values which knows whether they signify an ok state as opposed to error.
1040- #[ cfg( feature = "unstable" ) ]
1041- pub trait IsOk {
1042- /// Returns whether the current state of `self` is "ok".
1043- fn is_ok ( & self ) -> bool ;
1044- }
1045-
1046- #[ cfg( feature = "unstable" ) ]
1047- impl IsOk for ( ) {
1048- fn is_ok ( & self ) -> bool {
1049- true
1050- }
1051- }
1052-
1053- #[ cfg( feature = "unstable" ) ]
1054- impl < T , E > IsOk for Result < T , E > {
1055- fn is_ok ( & self ) -> bool {
1056- self . is_ok ( )
1057- }
1058- }
1059-
10601039/// The context that any procedure is provided with.
10611040///
10621041/// Each procedure must accept `&mut ProcedureContext` as its first argument.
You can’t perform that action at this time.
0 commit comments