Skip to content

Commit 9b492f0

Browse files
committed
fix clippy
1 parent 4b0b143 commit 9b492f0

File tree

1 file changed

+1
-1
lines changed
  • module/core/clone_dyn_types/src

1 file changed

+1
-1
lines changed

module/core/clone_dyn_types/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ mod private
186186
// The safety of this function relies on the correct implementation of the `CloneDyn` trait for the given type `T`.
187187
// Specifically, `__clone_dyn` must return a valid pointer to a cloned instance of `T`.
188188
//
189-
#[ allow( unsafe_code, clippy::implicit_return, clippy::as_conversions, clippy::ptr_cast_constness, clippy::ptr_as_ptr, clippy::multiple_unsafe_ops_per_block, clippy::undocumented_unsafe_blocks, clippy::ref_as_ptr ) ]
189+
#[ allow( unsafe_code, clippy::implicit_return, clippy::as_conversions, clippy::ptr_cast_constness, clippy::ptr_as_ptr, clippy::multiple_unsafe_ops_per_block, clippy::undocumented_unsafe_blocks, clippy::ref_as_ptr, clippy::borrow_as_ptr ) ]
190190
unsafe
191191
{
192192
let mut ptr = ref_dyn as *const T;

0 commit comments

Comments
 (0)