diff --git a/src/types/dynamic.rs b/src/types/dynamic.rs index 5bed4a5d..3cb2f857 100644 --- a/src/types/dynamic.rs +++ b/src/types/dynamic.rs @@ -1474,11 +1474,9 @@ impl Dynamic { /// Casting to a [`Dynamic`] just returns as is, but if it contains a shared value, /// it is cloned into a [`Dynamic`] with a normal value. /// - /// /// # Panics or Deadlocks /// - /// Panics if the cast fails (e.g. the type of the actual value is not the - /// same as the specified type). + /// Panics if the cast fails (e.g. the type of the actual value is not the same as the specified type). /// /// Under the `sync` feature, this call may deadlock, or [panic](https://doc.rust-lang.org/std/sync/struct.RwLock.html#panics-1). /// Otherwise, this call panics if the data is currently borrowed for write.