Skip to content

Commit 6033439

Browse files
committed
Adjusted documentation further
1 parent 23cd7d7 commit 6033439

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

library/core/src/any.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -914,7 +914,7 @@ pub const fn type_name_of_val<T: ?Sized>(_val: &T) -> &'static str {
914914
/// # Compile-time failures
915915
/// Determining whether `T` can be coerced to the trait object type `U` requires compiler trait resolution.
916916
/// In some cases, that resolution can exceed the recursion limit,
917-
/// and compilation will fail *instead of* this function returning `None`.
917+
/// and compilation will fail instead of this function returning `None`.
918918
/// # Examples
919919
///
920920
/// ```rust
@@ -968,7 +968,7 @@ pub const fn try_as_dyn<
968968
/// # Compile-time failures
969969
/// Determining whether `T` can be coerced to the trait object type `U` requires compiler trait resolution.
970970
/// In some cases, that resolution can exceed the recursion limit,
971-
/// and compilation will fail *instead of* this function returning `None`.
971+
/// and compilation will fail instead of this function returning `None`.
972972
/// # Examples
973973
///
974974
/// ```rust

library/core/src/intrinsics/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2759,7 +2759,7 @@ pub unsafe fn vtable_align(ptr: *const ()) -> usize;
27592759
/// # Compile-time failures
27602760
/// Determining whether `T` can be coerced to the trait object type `U` requires trait resolution by the compiler.
27612761
/// In some cases, that resolution can exceed the recursion limit,
2762-
/// and compilation will fail *instead of* this function returning `None`.
2762+
/// and compilation will fail instead of this function returning `None`.
27632763
///
27642764
/// # Safety
27652765
///

0 commit comments

Comments
 (0)