From 86e1cc917d0fdee9bed4d2fde959bb3276610239 Mon Sep 17 00:00:00 2001 From: PlexSheep Date: Sun, 12 May 2024 16:21:23 +0000 Subject: [PATCH] automatic cargo CI changes --- members/libpt-bintols/src/split.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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 {