feat/bintols/join-array #80

Merged
PlexSheep merged 5 commits from feat/bintols/join-array into devel 2024-05-13 15:16:19 +02:00
Owner
No description provided.
PlexSheep added 2 commits 2024-05-13 14:58:36 +02:00
forgejo-actions added 1 commit 2024-05-13 14:59:51 +02:00
PlexSheep reviewed 2024-05-13 15:00:35 +02:00
@ -0,0 +40,4 @@
for (i, e) in parts.iter().rev().enumerate() {
ri += (*e as u128) * 256u128.pow(i as u32);
}
Ok(ri.to_string().parse().unwrap())
Author
Owner

Don't rely on u128 for this function, use pure generics if possible. Don't convert to string and parse back to get a T

Don't rely on u128 for this function, use pure generics if possible. Don't convert to string and parse back to get a T
PlexSheep added 1 commit 2024-05-13 15:00:46 +02:00
cargo devel CI / cargo CI (push) Successful in 1m47s Details
b9f55d1613
Merge branch 'devel' into feat/bintols/join-array
PlexSheep added 1 commit 2024-05-13 15:13:37 +02:00
PlexSheep changed title from WIP: feat/bintols/join-array to feat/bintols/join-array 2024-05-13 15:13:52 +02:00
PlexSheep merged commit 8f75925ec3 into devel 2024-05-13 15:16:19 +02:00
PlexSheep deleted branch feat/bintols/join-array 2024-05-13 15:16:19 +02:00
This repo is archived. You cannot comment on pull requests.
No reviewers
No Milestone
No project
No Assignees
2 Participants
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: PlexSheep/pt#80
No description provided.