Skip to content

Commit fec5b27

Browse files
added backticks
1 parent bceff0b commit fec5b27

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

library/alloc/src/rc.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -2239,7 +2239,7 @@ impl Default for Rc<str> {
22392239
#[cfg(not(no_global_oom_handling))]
22402240
#[stable(feature = "more_rc_default_impls", since = "CURRENT_RUSTC_VERSION")]
22412241
impl<T> Default for Rc<[T]> {
2242-
/// Creates an empty [T] inside an Rc
2242+
/// Creates an empty `[T]` inside an Rc
22432243
#[inline]
22442244
fn default() -> Self {
22452245
let arr: [T; 0] = [];

library/alloc/src/sync.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -3311,7 +3311,7 @@ impl Default for Arc<str> {
33113311
#[cfg(not(no_global_oom_handling))]
33123312
#[stable(feature = "more_rc_default_impls", since = "CURRENT_RUSTC_VERSION")]
33133313
impl<T> Default for Arc<[T]> {
3314-
/// Creates an empty [T] inside an Arc
3314+
/// Creates an empty `[T]` inside an Arc
33153315
#[inline]
33163316
fn default() -> Self {
33173317
let arr: [T; 0] = [];

0 commit comments

Comments
 (0)