Skip to content

Commit

Permalink
Update DeltaI32 to DeltaInt32
Browse files Browse the repository at this point in the history
Eduard-Voiculescu committed Nov 4, 2022
1 parent 6a9a2e8 commit 6774d49
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/change.rs
Original file line number Diff line number Diff line change
@@ -4,7 +4,7 @@ use std::str;
use substreams::pb::substreams::store_delta::Operation;
use substreams::scalar::{BigDecimal, BigInt};
use substreams::store::{
DeltaArray, DeltaBigDecimal, DeltaBigInt, DeltaBool, DeltaBytes, DeltaI32, DeltaString,
DeltaArray, DeltaBigDecimal, DeltaBigInt, DeltaBool, DeltaBytes, DeltaInt32, DeltaString,
};

pub trait ToField {
@@ -24,7 +24,7 @@ impl ToField for i32 {
}
}

impl ToField for DeltaI32 {
impl ToField for DeltaInt32 {
fn to_field<N: AsRef<str>>(&self, name: N) -> Field {
let new_value: Option<Value> = Some(Value {
typed: Some(Typed::Int32(self.new_value)),

0 comments on commit 6774d49

Please sign in to comment.