0
0
mirror of https://github.com/neon-mmd/websurfx.git synced 2024-11-22 05:58:21 -05:00

make format happy

This commit is contained in:
xffxff 2023-06-15 06:48:37 +08:00
parent b6faa09750
commit ebb9e9ee2b

View File

@ -28,9 +28,14 @@ impl fmt::Display for EngineError {
write!(f, "The upstream search engine returned an empty result set") write!(f, "The upstream search engine returned an empty result set")
} }
EngineError::RequestError => { EngineError::RequestError => {
write!(f, "Error occurred while requesting data from upstream search engine") write!(
f,
"Error occurred while requesting data from upstream search engine"
)
}
EngineError::UnexpectedError => {
write!(f, "An unexpected error occurred while processing the data")
} }
EngineError::UnexpectedError => write!(f, "An unexpected error occurred while processing the data"),
} }
} }
} }