Skip to content

Commit 5e245ea

Browse files
committed
remove unused IsOk
1 parent 8da6dbe commit 5e245ea

File tree

1 file changed

+0
-21
lines changed

1 file changed

+0
-21
lines changed

crates/bindings/src/lib.rs

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff 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.

0 commit comments

Comments
 (0)