Skip to content

Commit 68c3c7e

Browse files
Fix clippy warning
1 parent 3d19750 commit 68c3c7e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

portal/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ async fn send_secret_to_app(app_id: &ashpd::MaybeAppID, fd: std::os::fd::OwnedFd
7171
let collection = service.default_collection().await?;
7272
let Ok(app_id) = app_id.inner() else {
7373
return Err(
74-
ashpd::PortalError::InvalidArgument(format!("A valid App ID is required")).into(),
74+
ashpd::PortalError::InvalidArgument("A valid App ID is required".to_string()).into(),
7575
);
7676
};
7777

0 commit comments

Comments
 (0)