-
Notifications
You must be signed in to change notification settings - Fork 182
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
impl ExportableProvider for ForkByErrorProvider and add tutorial #5503
Conversation
|
||
[features] | ||
std = [] | ||
export = ["icu_provider/export", "std"] |
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.
It seems incomplete to not implement ExportableProvider
on all adapter types.
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.
ForkByMarkerProvider
and MultiForkByMarkerProvider
are still missing.
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.
pub type ForkByMarkerProvider<P0, P1> = ForkByErrorProvider<P0, P1, MarkerNotFoundPredicate>;
|
||
[features] | ||
std = [] | ||
export = ["icu_provider/export", "std"] |
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.
ForkByMarkerProvider
and MultiForkByMarkerProvider
are still missing.
let mut markers = self.0.supported_markers(); | ||
markers.extend(self.1.supported_markers()); | ||
markers |
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.
let mut markers = self.0.supported_markers(); | |
markers.extend(self.1.supported_markers()); | |
markers | |
[&self.0, &self.1].iter().map(|p| p.supported_markers()).collect() |
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.
Not sure
Co-authored-by: Robert Bastian <4706271+robertbastian@users.noreply.github.com>
@jedel1043