You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using rust's raw identifier syntax in a command's argument list does not generate the appropriately named argument in javascript, but rather includes the r#.
Describe the bug
Using rust's raw identifier syntax in a command's argument list does not generate the appropriately named argument in javascript, but rather includes the
r#
.Reproduction
src-tauri/main.rs
In the javascript console:
Expected behavior
In the javascript console:
Platform and versions
Stack trace
No response
Additional context
tauri/core/tauri-macros/src/command/wrapper.rs
Lines 167 to 170 in bc370e3
This code should probably be using IdentExt::unraw:
https://docs.rs/syn/latest/syn/ext/trait.IdentExt.html#tymethod.unraw
The text was updated successfully, but these errors were encountered: