Skip to content

Commit 5433dab

Browse files
chore(clippy): #[must_use]
Co-authored-by: Pierre Tondereau <ptondereau@users.noreply.github.com>
1 parent fb6c7db commit 5433dab

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/types/array/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -688,6 +688,7 @@ impl ZendHashTable {
688688
/// // Works with numeric keys too
689689
/// ht.entry(42i64).or_insert("value at index 42");
690690
/// ```
691+
#[must_use]
691692
pub fn entry<'a, 'k, K>(&'a mut self, key: K) -> Entry<'a, 'k>
692693
where
693694
K: Into<ArrayKey<'k>>,

0 commit comments

Comments
 (0)