Skip to content

Commit d46eb1c

Browse files
committed
Error on visit_i128/visit_u128
1 parent d97f40c commit d46eb1c

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

gdnative-core/src/core_types/variant.rs

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -2168,29 +2168,13 @@ pub mod serde {
21682168
Ok(v.to_variant())
21692169
}
21702170

2171-
fn visit_i128<E>(self, v: i128) -> Result<Self::Value, E>
2172-
where
2173-
E: Error,
2174-
{
2175-
//TODO: Should this just return an error?
2176-
self.visit_i64(v as i64)
2177-
}
2178-
21792171
fn visit_u64<E>(self, v: u64) -> Result<Self::Value, E>
21802172
where
21812173
E: Error,
21822174
{
21832175
self.visit_i64(v as i64)
21842176
}
21852177

2186-
fn visit_u128<E>(self, v: u128) -> Result<Self::Value, E>
2187-
where
2188-
E: Error,
2189-
{
2190-
//TODO: Should this just return an error?
2191-
self.visit_i64(v as i64)
2192-
}
2193-
21942178
fn visit_f64<E>(self, v: f64) -> Result<Self::Value, E>
21952179
where
21962180
E: Error,

0 commit comments

Comments
 (0)