We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tracking issue to address the todo comment below. rust-lang/rust#53667
in main.rs, line 40, open_file_dialog(...)
open_file_dialog(...)
// TODO: Replace with if-let chains (https://github.com/rust-lang/rfcs/pull/2497) if let Some(path) = file_path { if let Some(dir) = path.parent() { if let Some(name) = path.file_name() { if let Ok(adjacent_gradle) = contains_build_gradle(Some(dir)).await { let _ = app_handle.emit_all( "open-file", OpenFileEventPayload { dir: dir.as_os_str().to_str(), name: name.to_str(), contents: file::read_string(path.clone()).ok().as_deref(), adjacent_gradle, }, ); } } } }
The text was updated successfully, but these errors were encountered:
I think Rust 2024 edition should have support for this
Sorry, something went wrong.
After the big Rust refactor, we don't have any cases of if let where this would be useful
if let
No branches or pull requests
Tracking issue to address the todo comment below.
rust-lang/rust#53667
in main.rs, line 40,
open_file_dialog(...)
The text was updated successfully, but these errors were encountered: