Skip to content
New issue

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

Fix docs test that uses networking #4882

Merged
merged 3 commits into from May 16, 2024
Merged

Conversation

robertbastian
Copy link
Member

No description provided.

provider/datagen/src/baked_exporter.rs Show resolved Hide resolved
Comment on lines 25 to 29
//! .with_locales_and_fallback([LocaleFamily::FULL], {
//! let mut options = FallbackOptions::default();
//! options.deduplication_strategy = Some(DeduplicationStrategy::None);
//! options
//! })
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggestion (optional): since BlobExporter does not support runtime fallback, DeduplicationStrategy::None is the default, so you don't need to set it explicitly here

Comment on lines 28 to 30
//! let mut options = FallbackOptions::default();
//! options.deduplication_strategy = Some(DeduplicationStrategy::None);
//! options
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggestion: set runtime_fallback_location to External here, and then deduplication_strategy will be inferred to be None.

Comment on lines 31 to 35
//! .with_locales_and_fallback([LocaleFamily::FULL], {
//! let mut options = FallbackOptions::default();
//! options.deduplication_strategy = Some(DeduplicationStrategy::None);
//! options
//! })
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggestion: it should work fine with Default::default().

@robertbastian
Copy link
Member Author

@sffc please just make the changes

@robertbastian robertbastian requested a review from sffc May 14, 2024 12:42
@robertbastian robertbastian merged commit c76757e into unicode-org:main May 16, 2024
30 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.

None yet

2 participants