refactor: Apply rust suggested changes

This commit is contained in:
0xalivecow 2024-10-23 10:24:13 +02:00
parent 067ef6141c
commit 8a92b884a1
No known key found for this signature in database
5 changed files with 6 additions and 16 deletions

View file

@ -1,6 +1,6 @@
use anyhow::Result;
use base64::prelude::*;
use std::{fmt::format, str::FromStr, u128, u8};
use std::{str::FromStr, u128, u8};
pub fn get_alpha_rep(num: u128) -> String {
let powers: Vec<u8> = get_coefficients(num);