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
Conversation
provider/blob/src/export/mod.rs
Outdated
//! .with_locales_and_fallback([LocaleFamily::FULL], { | ||
//! let mut options = FallbackOptions::default(); | ||
//! options.deduplication_strategy = Some(DeduplicationStrategy::None); | ||
//! options | ||
//! }) |
There was a problem hiding this comment.
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
//! let mut options = FallbackOptions::default(); | ||
//! options.deduplication_strategy = Some(DeduplicationStrategy::None); | ||
//! options |
There was a problem hiding this comment.
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
.
provider/fs/src/export/mod.rs
Outdated
//! .with_locales_and_fallback([LocaleFamily::FULL], { | ||
//! let mut options = FallbackOptions::default(); | ||
//! options.deduplication_strategy = Some(DeduplicationStrategy::None); | ||
//! options | ||
//! }) |
There was a problem hiding this comment.
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()
.
@sffc please just make the changes |
No description provided.