Skip to content

Commit 9401af2

Browse files
committed
Merge pull request #236 from hug-dev/fix-nightly
fix: fix some clippy lints
2 parents df59459 + 705568b commit 9401af2

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

cryptoki/src/mechanism/elliptic_curve.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ pub struct EcKdf<'a> {
8282
shared_data: Option<&'a [u8]>,
8383
}
8484

85-
impl<'a> EcKdf<'a> {
85+
impl EcKdf<'_> {
8686
/// The null transformation. The derived key value is produced by
8787
/// taking bytes from the left of the agreed value. The new key
8888
/// size is limited to the size of the agreed value.

cryptoki/src/session/object_management.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ impl<'a> ObjectHandleIterator<'a> {
138138
// and index to cache_size. That allows to jump directly to the C_FindObjects call
139139
// and start filling the cache.
140140

141-
impl<'a> Iterator for ObjectHandleIterator<'a> {
141+
impl Iterator for ObjectHandleIterator<'_> {
142142
type Item = Result<ObjectHandle>;
143143

144144
fn next(&mut self) -> Option<Self::Item> {
@@ -272,7 +272,7 @@ impl Session {
272272
/// # See also
273273
///
274274
/// * [`Session::iter_objects`] for a way to specify the cache size
275-
275+
///
276276
/// # Example
277277
///
278278
/// ```rust

0 commit comments

Comments
 (0)