Skip to content

Commit

Permalink
Clippy and another test
Browse files Browse the repository at this point in the history
  • Loading branch information
sffc committed Oct 12, 2023
1 parent a397c90 commit 8fc909c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion provider/core/src/request.rs
Original file line number Diff line number Diff line change
Expand Up @@ -278,6 +278,7 @@ impl DataLocale {
/// "ca-ES-x-gbp",
/// "ca-ES-x-gbp-short",
/// "ca-ES-x-usd",
/// "ca-ES-xyzabc",
/// "ca-x-eur",
/// "cat",
/// "pl-Latn-PL",
Expand Down Expand Up @@ -883,7 +884,7 @@ impl AuxiliaryKeys {
///
/// assert!(AuxiliaryKeys::try_from_iter([]).is_err());
/// ```
pub fn try_from_iter<'a>(iter: impl IntoIterator<Item = Subtag>) -> Result<Self, DataError> {
pub fn try_from_iter(iter: impl IntoIterator<Item = Subtag>) -> Result<Self, DataError> {
// TODO: Avoid the allocation when possible
let mut builder = String::new();
for item in iter {
Expand Down

0 comments on commit 8fc909c

Please sign in to comment.