这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@JeongHwan-dev
Copy link
Contributor

Description

Optimizes the should_skip_notification() function by combining two separate environment variable checks into a single chained iterator operation.

Changes

  • Before: Two separate .any() calls on NOTIFIER_DISABLE_VARS and ENVIRONMENTAL_DISABLE_VARS
  • After: Single chained iterator using .chain() method

Benefits

  • Improved readability: Cleaner, more idiomatic Rust code
  • Reduced redundancy: Eliminates duplicate iteration logic
  • Better maintainability: Follows Rust iterator best practices
  • Same functionality: Zero behavioral changes

…should_skip_notification

Replace two separate .any() calls with a single chained iterator in
should_skip_notification() function. This eliminates redundant iterations
over environment variables and improves code readability while maintaining
identical functionality.
@vercel
Copy link
Contributor

vercel bot commented Jul 1, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
examples-basic-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 1, 2025 0:30am
examples-designsystem-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 1, 2025 0:30am
examples-native-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 1, 2025 0:30am
examples-tailwind-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 1, 2025 0:30am
examples-vite-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 1, 2025 0:30am

@vercel
Copy link
Contributor

vercel bot commented Jul 1, 2025

@JeongHwan-dev is attempting to deploy a commit to the Vercel Team on Vercel.

A member of the Team first needs to authorize it.

@anthonyshew anthonyshew merged commit 6f9c0c8 into vercel:main Jul 1, 2025
35 of 40 checks passed
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.

3 participants