Skip to content

Commit 38e21f9

Browse files
committed
Fix link in Weak::new
1 parent d4b41fa commit 38e21f9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/liballoc/rc.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -1187,8 +1187,9 @@ impl<T: ?Sized + Unsize<U>, U: ?Sized> DispatchFromDyn<Weak<U>> for Weak<T> {}
11871187

11881188
impl<T> Weak<T> {
11891189
/// Constructs a new `Weak<T>`, without allocating any memory.
1190-
/// Calling [`upgrade`][Weak::upgrade] on the return value always gives [`None`].
1190+
/// Calling [`upgrade`] on the return value always gives [`None`].
11911191
///
1192+
/// [`upgrade`]: #method.upgrade
11921193
/// [`None`]: ../../std/option/enum.Option.html
11931194
///
11941195
/// # Examples

0 commit comments

Comments
 (0)