mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-11-14 20:56:49 +00:00
relax and de-clutter let_underscore_must_use
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
1 parent
100c6f572b
commit
23a9055199
9 files changed
+5
-29
No files matched your search
@@ -28,7 +28,6 @@ mod_ctor! {}
|
||||
mod_dtor! {}
|
||||
|
||||
/// Install the admin command handler
|
||||
#[allow(clippy::let_underscore_must_use)]
|
||||
pub async fn init() {
|
||||
_ = services()
|
||||
.admin
|
||||
@@ -45,7 +44,6 @@ pub async fn init() {
|
||||
}
|
||||
|
||||
/// Uninstall the admin command handler
|
||||
#[allow(clippy::let_underscore_must_use)]
|
||||
pub async fn fini() {
|
||||
_ = services().admin.handle.write().await.take();
|
||||
_ = services()
|
||||
|
||||
Reference in new issue
Block a user