safe_math
Function
safe_math
::
safe_add
Copy item path
source
ยท
[
−
]
pub fn safe_add<T>(in_x: T, in_y: T) ->
Result
<
i64
, T>
where
i128
:
From
<T>, T:
Clone
+
Copy
,