Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Robert Bastian <4706271+robertbastian@users.noreply.github.com>
  • Loading branch information
sffc and robertbastian committed Nov 2, 2023
1 parent aa54e9d commit d2b0a5d
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions provider/blob/src/export/blob_exporter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,9 @@ impl<'w> BlobExporter<'w> {
/// targeting only ICU4X 1.4 and above, see [BlobExporter::new_v2_with_sink()].
pub fn new_with_sink(sink: Box<dyn std::io::Write + Sync + 'w>) -> Self {
Self {
resources: Mutex::new(Default::default()),
unique_resources: Mutex::new(Default::default()),
all_keys: Mutex::new(Default::default()),
resources: Default::default(),
unique_resources: Default::default(),
all_keys: Default::default(),
sink,
version: VersionConfig::V001,
}
Expand All @@ -72,9 +72,9 @@ impl<'w> BlobExporter<'w> {
/// see [BlobExporter::new_with_sink()].
pub fn new_v2_with_sink(sink: Box<dyn std::io::Write + Sync + 'w>) -> Self {
Self {
resources: Mutex::new(Default::default()),
unique_resources: Mutex::new(Default::default()),
all_keys: Mutex::new(Default::default()),
resources: Default::default(),
unique_resources: Default::default(),
all_keys: Default::default(),
sink,
version: VersionConfig::V002,
}
Expand Down

0 comments on commit d2b0a5d

Please sign in to comment.