Fix server function warning with default features (#4453)
* fix server function warning with default features * document and hide mock client * fix clippy * more clippy fixes * fix formatting
This commit is contained in:
1 parent
86086477d0
commit
18fe6de9a0
7 files changed
+181
-6
No files matched your search
@@ -197,8 +197,8 @@ impl<T: FromStr> FromStr for ServerFnError<T> {
|
||||
impl<T: Display> Display for ServerFnError<T> {
|
||||
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
|
||||
match self {
|
||||
ServerFnError::ServerError(err) => write!(f, "Server error: {}", err),
|
||||
ServerFnError::CommunicationError(err) => write!(f, "Communication error: {}", err),
|
||||
ServerFnError::ServerError(err) => write!(f, "Server error: {err}"),
|
||||
ServerFnError::CommunicationError(err) => write!(f, "Communication error: {err}"),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user