Skip to content

Commit

Permalink
Fix some new Clippy lints (#306)
Browse files Browse the repository at this point in the history
* Fix fallback to never type clippy warning
* Remove redundant trait bound
  • Loading branch information
rubdos authored Jul 8, 2024
1 parent 54327f5 commit b20a9fe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion libsignal-service-actix/src/websocket.rs
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ impl From<AwcWebSocketError> for ServiceError {
}

/// Process the WebSocket, until it times out.
async fn process<S: Stream>(
async fn process<S>(
socket_stream: S,
mut incoming_sink: Sender<WebSocketStreamItem>,
) -> Result<(), AwcWebSocketError>
Expand Down
2 changes: 1 addition & 1 deletion libsignal-service/src/account_manager.rs
Original file line number Diff line number Diff line change
Expand Up @@ -580,7 +580,7 @@ impl<Service: PushService> AccountManager<Service> {
}

self.service
.put_json(
.put_json::<(), _>(
Endpoint::Service,
"/v1/accounts/name",
&[],
Expand Down

0 comments on commit b20a9fe

Please sign in to comment.