Skip to content

fix: remove unused use tauri::Manager import#4587

Open
devin-ai-integration[bot] wants to merge 3 commits intomainfrom
devin/1773619457-clippy-fixes
Open

fix: remove unused use tauri::Manager import#4587
devin-ai-integration[bot] wants to merge 3 commits intomainfrom
devin/1773619457-clippy-fixes

Conversation

@devin-ai-integration
Copy link
Contributor

@devin-ai-integration devin-ai-integration bot commented Mar 16, 2026

Summary

Removes the unused use tauri::Manager import from apps/desktop/src-tauri/src/lib.rs, as flagged by cargo clippy on Linux.

Note: This PR originally included several other clippy fixes, but those were independently applied on main. After merging main, only this single import removal remains.

Review & Testing Checklist for Human

  • Verify use tauri::Manager is not needed for macOS-gated code. The Manager trait provides methods like .webview_windows() and .set_activation_policy() used inside #[cfg(target_os = "macos")] blocks (~line 264). Clippy ran on Linux and cannot see inside macOS cfg blocks. Confirm that use ext::* or another import brings Manager into scope, or restore the import.
  • Run a macOS CI build to catch any platform-specific regression from this removal.

Notes

  • This is a one-line change. The main risk is that tauri::Manager may be required by macOS-only code paths that clippy on Linux cannot analyze.

Link to Devin session: https://app.devin.ai/sessions/423041396aaf4dfc829d7669170f7a88

- Auto-fixed: simplify closures, remove unnecessary clones, use map_or
- Manual fix: collapse nested if-let in recorder.rs sync_dir
- Manual fix: remove unused import tauri::Manager in desktop lib.rs
- Add plugins/cli2 to workspace exclude (no Cargo.toml, JS-only plugin)

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
@devin-ai-integration
Copy link
Contributor Author

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR that start with 'DevinAI' or '@devin'.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • Disable automatic comment and CI monitoring

@netlify
Copy link

netlify bot commented Mar 16, 2026

Deploy Preview for hyprnote canceled.

Name Link
🔨 Latest commit 93ccfc8
🔍 Latest deploy log https://app.netlify.com/projects/hyprnote/deploys/69b74ecdfc17db00083a8c64

@netlify
Copy link

netlify bot commented Mar 16, 2026

Deploy Preview for hyprnote-storybook canceled.

Name Link
🔨 Latest commit 93ccfc8
🔍 Latest deploy log https://app.netlify.com/projects/hyprnote-storybook/deploys/69b74ecdf923fc00085c4512

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
@devin-ai-integration devin-ai-integration bot changed the title fix: apply cargo clippy fixes fix: remove unused use tauri::Manager import Mar 16, 2026
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants