Merge pull request #502 from magnusja/patch-1

Fix documentation (dymanic::cast does not return an Option)
This commit is contained in:
Stephen Chung
2022-01-06 10:16:37 +08:00
committed by GitHub

View File

@@ -1462,7 +1462,6 @@ 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.
///
/// Returns [`None`] if types mismatched.
///
/// # Panics or Deadlocks
///