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
commit 071d6900c4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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
///