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.
1 parent 8da6dbe commit 5e245eaCopy full SHA for 5e245ea
1 file changed
crates/bindings/src/lib.rs
@@ -1036,27 +1036,6 @@ impl Deref for TxContext {
1036
}
1037
1038
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
1047
-impl IsOk for () {
1048
- fn is_ok(&self) -> bool {
1049
- true
1050
- }
1051
1052
1053
1054
-impl<T, E> IsOk for Result<T, E> {
1055
1056
- self.is_ok()
1057
1058
1059
1060
/// The context that any procedure is provided with.
1061
///
1062
/// Each procedure must accept `&mut ProcedureContext` as its first argument.
0 commit comments