Skip to content

Commit

Permalink
fix(core): remove TSend: Clone for Channel in commands (tauri-app…
Browse files Browse the repository at this point in the history
  • Loading branch information
amrbashir authored Mar 3, 2025
1 parent f268b3d commit 2d029a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/tauri/src/ipc/channel.rs
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ impl<TSend> Channel<TSend> {
}
}

impl<'de, R: Runtime, TSend: Clone> CommandArg<'de, R> for Channel<TSend> {
impl<'de, R: Runtime, TSend> CommandArg<'de, R> for Channel<TSend> {
/// Grabs the [`Webview`] from the [`CommandItem`] and returns the associated [`Channel`].
fn from_command(command: CommandItem<'de, R>) -> Result<Self, InvokeError> {
let name = command.name;
Expand Down

0 comments on commit 2d029a9

Please sign in to comment.