Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
robertbastian committed Jul 4, 2024
1 parent 8fecc0e commit b59b6dc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 2 additions & 0 deletions provider/blob/src/blob_schema.rs
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ impl<'data> BlobSchemaV1<'data> {
.iter1_copied()
.filter_map(|(s, _)| core::str::from_utf8(&s.0).ok())
.filter_map(|s| {
#[allow(unused_imports)]
use alloc::borrow::ToOwned;
if let Some((locale, attrs)) = s.split_once(REQUEST_SEPARATOR) {
Some(DataIdentifierCow::from_owned(
Expand Down Expand Up @@ -265,6 +266,7 @@ impl<'data, LocaleVecFormat: VarZeroVecFormat> BlobSchemaV2<'data, LocaleVecForm
Ok(ZeroTrieSimpleAscii::from_store(zerotrie)
.iter()
.filter_map(|(s, _)| {
#[allow(unused_imports)]
use alloc::borrow::ToOwned;
if let Some((locale, attrs)) = s.split_once(REQUEST_SEPARATOR) {
Some(DataIdentifierCow::from_owned(
Expand Down
2 changes: 0 additions & 2 deletions provider/core/src/request.rs
Original file line number Diff line number Diff line change
Expand Up @@ -490,8 +490,6 @@ impl DataLocale {
/// This ignores extension keywords and auxiliary keys.
///
/// See also:
///
/// - [`DataLocale::is_empty()`]
/// - [`DataLocale::is_und()`]
///
/// # Examples
Expand Down

0 comments on commit b59b6dc

Please sign in to comment.