Skip to content

Commit 95e78b4

Browse files
committed
Adjusted documentation further
1 parent 4038dc9 commit 95e78b4

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
@@ -904,7 +904,7 @@ pub const fn type_name_of_val<T: ?Sized>(_val: &T) -> &'static str {
904904
/// # Compile-time failures
905905
/// Determining whether `T` can be coerced to the trait object type `U` requires compiler trait resolution.
906906
/// In some cases, that resolution can exceed the recursion limit,
907-
/// and compilation will fail *instead of* this function returning `None`.
907+
/// and compilation will fail instead of this function returning `None`.
908908
/// # Examples
909909
///
910910
/// ```rust
@@ -958,7 +958,7 @@ pub const fn try_as_dyn<
958958
/// # Compile-time failures
959959
/// Determining whether `T` can be coerced to the trait object type `U` requires compiler trait resolution.
960960
/// In some cases, that resolution can exceed the recursion limit,
961-
/// and compilation will fail *instead of* this function returning `None`.
961+
/// and compilation will fail instead of this function returning `None`.
962962
/// # Examples
963963
///
964964
/// ```rust

library/core/src/intrinsics/mod.rs

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

0 commit comments

Comments
 (0)