rustls / rustls-ffi

Use Rustls from any language
Other
124 stars 31 forks source link

lib: fix false positive dead_code trait #387

Closed cpu closed 4 months ago

cpu commented 4 months ago

The OwnershipMarker trait is used as an associated type in other traits, serving as a marker. Clippy nightly thinks it is unused. This commit adds an allow dead_code annotation to fix that finding.

Possible this should be raised upstream but for now let's fix our build with the annotation.