mirror of
https://github.com/rustfs/rustfs.git
synced 2026-08-13 00:26:53 +00:00
fix: make cargo check happy
This commit is contained in:
@@ -1,5 +1,3 @@
|
||||
use std::default;
|
||||
|
||||
use serde::{Deserialize, Serialize};
|
||||
use strum::{EnumString, IntoStaticStr};
|
||||
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
use std::{collections::HashMap, ops::Deref};
|
||||
|
||||
use func::Func;
|
||||
use key::Key;
|
||||
use serde::{de, Deserialize, Serialize};
|
||||
|
||||
pub mod addr;
|
||||
@@ -56,7 +55,7 @@ impl<'de> Deserialize<'de> for Functions {
|
||||
return Err(A::Error::custom("invalid codition"));
|
||||
}
|
||||
|
||||
let Some(name) = name else { return Err(A::Error::custom("invalid codition")) };
|
||||
let Some(_name) = name else { return Err(A::Error::custom("invalid codition")) };
|
||||
|
||||
let f = match qualifier {
|
||||
Some("ForAnyValues") => Func::ForAnyValues,
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
use std::borrow::Cow;
|
||||
|
||||
use serde::{Deserialize, Serialize};
|
||||
|
||||
use super::{action::Action, ActionSet, Args, Effect, Error, Functions, ResourceSet, Validator, ID};
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
use std::{fmt::Write, usize};
|
||||
|
||||
struct LazyBuf<'a> {
|
||||
s: &'a str,
|
||||
buf: Option<Vec<u8>>,
|
||||
|
||||
Reference in New Issue
Block a user