viirya commented on code in PR #3025:
URL: https://github.com/apache/arrow-rs/pull/3025#discussion_r1014721249
##########
arrow-buffer/src/bigint.rs:
##########
@@ -87,6 +87,15 @@ impl i256 {
}
}
+ /// Create an integer value from its representation as high and low byte
arrays in little-endian.
Review Comment:
I originally wanted that. But I cannot make `from_le_bytes` as const fn.
```
error[E0015]: cannot call non-const fn `Result::<[u8; 16],
TryFromSliceError>::unwrap` in constant functions
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]