mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2025-09-10 18:55:57 +03:00
Updated dependencies, removed some unnecessary clones and fixed some lints
This commit is contained in:
@@ -101,7 +101,7 @@ pub fn delete_file(path: &str) -> IOResult<()> {
|
||||
const UNITS: [&str; 6] = ["bytes", "KB", "MB", "GB", "TB", "PB"];
|
||||
|
||||
pub fn get_display_size(size: i32) -> String {
|
||||
let mut size = size as f64;
|
||||
let mut size: f64 = size.into();
|
||||
let mut unit_counter = 0;
|
||||
|
||||
loop {
|
||||
|
Reference in New Issue
Block a user