Skip to content

Commit 57891d5

Browse files
committed
Error on visit_i128/visit_u128
1 parent 270aee9 commit 57891d5

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
@@ -2169,29 +2169,13 @@ pub mod serde {
21692169
Ok(v.to_variant())
21702170
}
21712171

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

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

0 commit comments

Comments
 (0)