We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e87c4dd + 288bd49 commit 5e7bebaCopy full SHA for 5e7beba
library/alloc/src/rc.rs
@@ -2330,8 +2330,8 @@ impl<T: ?Sized + fmt::Debug> fmt::Debug for Weak<T> {
2330
2331
#[stable(feature = "downgraded_weak", since = "1.10.0")]
2332
impl<T> Default for Weak<T> {
2333
- /// Constructs a new `Weak<T>`, allocating memory for `T` without initializing
2334
- /// it. Calling [`upgrade`] on the return value always gives [`None`].
+ /// Constructs a new `Weak<T>`, without allocating any memory.
+ /// Calling [`upgrade`] on the return value always gives [`None`].
2335
///
2336
/// [`None`]: Option
2337
/// [`upgrade`]: Weak::upgrade
0 commit comments