chore: Beta Clippy suggestions (#6422)

This commit is contained in:
Hocuri
2025-01-11 17:58:38 +01:00
committed by GitHub
parent de63527d94
commit 5dc8788eab
4 changed files with 4 additions and 8 deletions

View File

@@ -61,10 +61,7 @@ macro_rules! progress {
impl Context {
/// Checks if the context is already configured.
pub async fn is_configured(&self) -> Result<bool> {
self.sql
.get_raw_config_bool("configured")
.await
.map_err(Into::into)
self.sql.get_raw_config_bool("configured").await
}
/// Configures this account with the currently set parameters.