Skip to content

Commit

Permalink
Fix FromAbi trait visibility
Browse files Browse the repository at this point in the history
  • Loading branch information
Rexagon committed Sep 14, 2023
1 parent 1ba1bea commit 772e1bd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion src/abi/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@ pub use self::contract::{
UnsignedExternalMessage,
};
pub use self::signature::{extend_signature_with_id, sign_with_signature_id};
pub use self::traits::{IntoAbi, IntoPlainAbi, WithAbiType, WithPlainAbiType};
pub use self::traits::{
FromAbi, FromPlainAbi, IntoAbi, IntoPlainAbi, WithAbiType, WithPlainAbiType,
};
pub use self::ty::{
AbiHeaderType, AbiType, FullAbiTypeSize, NamedAbiType, PlainAbiType, ShortAbiTypeSize,
};
Expand Down
2 changes: 1 addition & 1 deletion src/abi/traits.rs
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ impl_with_plain_abi_type! {
VarAddr => Address,
}

/// A type with can be converted into a plain ABI value.
/// A type which can be converted into a plain ABI value.
pub trait IntoPlainAbi: IntoAbi {
/// Returns a corresponding plain ABI value.
///
Expand Down

0 comments on commit 772e1bd

Please sign in to comment.