fix doc links for downcast_unchecked

This commit is contained in:
Ibraheem Ahmed
2021-11-20 18:21:52 -05:00
parent 6f982930ba
commit 25271a5a98
2 changed files with 6 additions and 4 deletions

View File

@@ -265,8 +265,6 @@ impl dyn Any {
/// Returns a reference to the inner value as type `dyn T`.
///
/// For a safe alternative see [`downcast_ref`].
///
/// # Examples
///
/// ```
@@ -295,8 +293,6 @@ impl dyn Any {
/// Returns a mutable reference to the inner value as type `dyn T`.
///
/// For a safe alternative see [`downcast_mut`].
///
/// # Examples
///
/// ```