Skip to content

Commit

Permalink
Fix again
Browse files Browse the repository at this point in the history
  • Loading branch information
sffc committed Aug 29, 2023
1 parent bfa4a85 commit 6af777a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/tutorials/data_provider.md
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ where
// one key, this is a useful distinction for most other formatters.
if key == HelloWorldV1Marker::KEY {
let mut w = self.resolved_locale.write().unwrap();
w.replace(any_res.metadata.locale.take());
*w = any_res.metadata.locale.take();
}
Ok(any_res)
}
Expand Down

0 comments on commit 6af777a

Please sign in to comment.