chore: conditionally import AtomicU64 only on non-macOS#63
Conversation
AtomicU64 is only used in #[cfg(not(target_os = macos))] blocks (focus-loss debounce for Windows/Linux). On macOS it generates an unused import warning. Moved the import behind the same cfg guard.
|
Warning Review limit reached
More reviews will be available in 28 minutes and 55 seconds. Learn how PR review limits work. Your organization has run out of usage credits. Purchase more credits in the billing tab to continue. ⌛ How to resolve this issue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based credits. 🚦 How do rate limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please see our Fair Usage Limits Policy for further information. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary
unused import: AtomicU64AtomicU64is only used in#[cfg(not(target_os = macos))]blocks for theWindows/Linux focus-loss debounce mechanism. On macOS it was imported
unconditionally, producing a warning.
#[cfg(not(target_os = macos))].Reduces
cargo checkwarnings from 12 to 11 (remaining 11 are all pre-existingobjc macro warnings in
macos.rs).