From 52cf49a8aaf8ba8a12755cd6d61809100c8ed865 Mon Sep 17 00:00:00 2001 From: Kenny Kerr Date: Wed, 1 May 2024 06:45:59 -0500 Subject: [PATCH] feedback --- crates/libs/core/src/handles.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/crates/libs/core/src/handles.rs b/crates/libs/core/src/handles.rs index 415e13a802..b35c29e6cc 100644 --- a/crates/libs/core/src/handles.rs +++ b/crates/libs/core/src/handles.rs @@ -1,6 +1,6 @@ /// Custom code to free a handle. /// -/// This is similar to the `Drop` trait, and may be used to implement `Drop`, but allows handles +/// This is similar to the [`Drop`] trait, and may be used to implement [`Drop`], but allows handles /// to be dropped depending on context. pub trait Free { /// Calls the handle's free function. @@ -10,9 +10,9 @@ pub trait Free { unsafe fn free(&mut self); } -/// A wrapper to provide ownership for handles to automatically drop via the handle's `Free` trait. +/// A wrapper to provide ownership for handles to automatically drop via the handle's [`Free`] trait. #[repr(transparent)] -#[derive(Clone, PartialEq, Eq, Default, Debug)] +#[derive(PartialEq, Eq, Default, Debug)] pub struct Owned(T); impl Owned {