diff --git a/src/lib.rs b/src/lib.rs index 7c80083..81dc1ea 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -139,11 +139,13 @@ impl Ordered { /// Returns a reference to the inner object. /// /// We also implement [`core::borrow::Borrow`] so this function is never explicitly needed. + #[deprecated(since = "0.3.0", note = "use `ops::Deref` instead")] pub const fn as_inner(&self) -> &T { &self.0 } /// Returns the inner object. /// /// We also implement [`core::ops::Deref`] so this function is never explicitly needed. + #[deprecated(since = "0.3.0", note = "use `ops::Deref` instead")] pub fn into_inner(self) -> T { self.0 } }