about summary refs log tree commit diff
diff options
context:
space:
mode:
authorDylan DPC <99973273+Dylan-DPC@users.noreply.github.com>2022-09-17 15:31:09 +0530
committerGitHub <noreply@github.com>2022-09-17 15:31:09 +0530
commit80cceb8f7705b9809c726cd6d8dda93451d32cc6 (patch)
tree498cabb5cfbe02035bf2c1a4598651071c07be82
parent4515cb962111d34f146d700e32a278cf6c4f7cd4 (diff)
parent673c43b6e13ea78fae815a469436832cae6f78c0 (diff)
downloadrust-80cceb8f7705b9809c726cd6d8dda93451d32cc6.tar.gz
rust-80cceb8f7705b9809c726cd6d8dda93451d32cc6.zip
Rollup merge of #101931 - msakuta:master, r=thomcc
doc: Fix a typo in `Rc::make_mut` docstring

A very minor typo fix.
-rw-r--r--library/alloc/src/rc.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/alloc/src/rc.rs b/library/alloc/src/rc.rs
index b89b03683ba..6d247681c66 100644
--- a/library/alloc/src/rc.rs
+++ b/library/alloc/src/rc.rs
@@ -1142,7 +1142,7 @@ impl<T: Clone> Rc<T> {
     /// be cloned.
     ///
     /// See also [`get_mut`], which will fail rather than cloning the inner value
-    /// or diassociating [`Weak`] pointers.
+    /// or disassociating [`Weak`] pointers.
     ///
     /// [`clone`]: Clone::clone
     /// [`get_mut`]: Rc::get_mut