diff --git a/crates/optimism/primitives/src/transaction/signed.rs b/crates/optimism/primitives/src/transaction/signed.rs index 1083c69b1868..3b28165c81c0 100644 --- a/crates/optimism/primitives/src/transaction/signed.rs +++ b/crates/optimism/primitives/src/transaction/signed.rs @@ -603,21 +603,7 @@ pub mod serde_bincode_compat { use reth_primitives_traits::{serde_bincode_compat::SerdeBincodeCompat, SignedTransaction}; use serde::{Deserialize, Serialize}; - /// Bincode-compatible [`super::Transaction`] serde implementation. - /// - /// Intended to use with the [`serde_with::serde_as`] macro in the following way: - /// ```rust - /// use reth_primitives::{serde_bincode_compat, Transaction}; - /// use serde::{Deserialize, Serialize}; - /// use serde_with::serde_as; - /// - /// #[serde_as] - /// #[derive(Serialize, Deserialize)] - /// struct Data { - /// #[serde_as(as = "serde_bincode_compat::transaction::Transaction")] - /// transaction: Transaction, - /// } - /// ``` + /// Bincode-compatible [`super::OpTypedTransaction`] serde implementation. #[derive(Debug, Serialize, Deserialize)] #[allow(missing_docs)] enum OpTypedTransaction<'a> {