Skip to content

Commit

Permalink
chore: Into to From
Browse files Browse the repository at this point in the history
Signed-off-by: jsvisa <delweng@gmail.com>
  • Loading branch information
jsvisa committed Nov 6, 2024
1 parent d512418 commit e061e75
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/tracing/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -523,10 +523,9 @@ impl CallKind {
}
}

/// Returns the creation method of the create callkind.
impl Into<CreationMethod> for CallKind {
fn into(self) -> CreationMethod {
match self {
impl From<CallKind> for CreationMethod {
fn from(kind: CallKind) -> CreationMethod {
match kind {
CallKind::Create => CreationMethod::Create,
CallKind::Create2 => CreationMethod::Create2,
CallKind::EOFCreate => CreationMethod::EofCreate,
Expand Down

0 comments on commit e061e75

Please sign in to comment.