Skip to content

Commit 58eb77e

Browse files
committed
Fixed invalid import in documentation code
1 parent 2c4b96a commit 58eb77e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/core/src/any.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -971,7 +971,7 @@ pub const fn try_as_dyn<
971971
/// ```rust
972972
/// #![feature(try_as_dyn)]
973973
///
974-
/// use core::any::try_as_dyn;
974+
/// use core::any::try_as_dyn_mut;
975975
///
976976
/// trait Animal {
977977
/// fn speak(&self) -> &'static str;

0 commit comments

Comments
 (0)