From e9c3402aff76d37221ab8d8248dc9be11b9bf3a9 Mon Sep 17 00:00:00 2001 From: PlexSheep Date: Mon, 13 May 2024 12:59:44 +0000 Subject: [PATCH] automatic cargo CI changes --- members/libpt-bintols/src/lib.rs | 2 +- members/libpt-bintols/src/split.rs | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/members/libpt-bintols/src/lib.rs b/members/libpt-bintols/src/lib.rs index 1680664..e69706c 100644 --- a/members/libpt-bintols/src/lib.rs +++ b/members/libpt-bintols/src/lib.rs @@ -25,5 +25,5 @@ pub const YOBI: u128 = 2u128.pow(80); // use libpt_core; pub mod datalayout; pub mod display; -pub mod split; pub mod join; +pub mod split; diff --git a/members/libpt-bintols/src/split.rs b/members/libpt-bintols/src/split.rs index c996ef7..3fb3a7d 100644 --- a/members/libpt-bintols/src/split.rs +++ b/members/libpt-bintols/src/split.rs @@ -3,7 +3,6 @@ //! Sometimes, you need a large integer in the form of many bytes, so split into [u8]. //! Rust provides - /// Split unsigned integers into a [Vec] of [u8]s /// /// Say you have the [u32] 1717 (binary: `00000000 00000000 00000110 10110101 `). This number would @@ -23,7 +22,7 @@ /// ``` pub fn unsigned_to_vec(num: T) -> Vec where - u128: std::convert::From + u128: std::convert::From, { let mut num: u128 = num.into(); if num == 0 {