]> Untitled Git - lemmy.git/blobdiff - crates/api_crud/src/comment/read.rs
Running clippy --fix (#1647)
[lemmy.git] / crates / api_crud / src / comment / read.rs
index 12ccbd5a1a6b6b6b7427d66ac3c44d7072673da9..767311d2a64d7fc04efd25971b1c1f8667f2093a 100644 (file)
@@ -15,7 +15,7 @@ impl PerformCrud for GetComments {
     context: &Data<LemmyContext>,
     _websocket_id: Option<ConnectionId>,
   ) -> Result<GetCommentsResponse, LemmyError> {
-    let data: &GetComments = &self;
+    let data: &GetComments = self;
     let local_user_view = get_local_user_view_from_jwt_opt(&data.auth, context.pool()).await?;
 
     let show_bot_accounts = local_user_view