Skip to content

Commit

Permalink
added backticks
Browse files Browse the repository at this point in the history
  • Loading branch information
Billy-Sheppard committed May 6, 2024
1 parent bceff0b commit fec5b27
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion library/alloc/src/rc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2239,7 +2239,7 @@ impl Default for Rc<str> {
#[cfg(not(no_global_oom_handling))]
#[stable(feature = "more_rc_default_impls", since = "CURRENT_RUSTC_VERSION")]
impl<T> Default for Rc<[T]> {
/// Creates an empty [T] inside an Rc
/// Creates an empty `[T]` inside an Rc
#[inline]
fn default() -> Self {
let arr: [T; 0] = [];
Expand Down
2 changes: 1 addition & 1 deletion library/alloc/src/sync.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3311,7 +3311,7 @@ impl Default for Arc<str> {
#[cfg(not(no_global_oom_handling))]
#[stable(feature = "more_rc_default_impls", since = "CURRENT_RUSTC_VERSION")]
impl<T> Default for Arc<[T]> {
/// Creates an empty [T] inside an Arc
/// Creates an empty `[T]` inside an Arc
#[inline]
fn default() -> Self {
let arr: [T; 0] = [];
Expand Down

0 comments on commit fec5b27

Please sign in to comment.