about summary refs log tree commit diff
path: root/src/libstd/clone.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2013-12-15 05:06:24 -0800
committerbors <bors@rust-lang.org>2013-12-15 05:06:24 -0800
commitef7969e86f0b53e4236ca627b31ac09413c07b82 (patch)
treea8126b39b840ae330d92ac5e346d151fab32c291 /src/libstd/clone.rs
parent09bfb3b47383d566a5bbf5aef9429e5c24a93b6d (diff)
parentb0bcbbb154f11aeb302b45e4ba0627604af181a0 (diff)
auto merge of #10974 : huonw/rust/spellck, r=alexcrichton
Diffstat (limited to 'src/libstd/clone.rs')
-rw-r--r--src/libstd/clone.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstd/clone.rs b/src/libstd/clone.rs
index 95d75138082..6bff438bbc6 100644
--- a/src/libstd/clone.rs
+++ b/src/libstd/clone.rs
@@ -33,7 +33,7 @@ pub trait Clone {
     /// Perform copy-assignment from `source`.
     ///
     /// `a.clone_from(&b)` is equivalent to `a = b.clone()` in functionality,
-    /// but can be overriden to reuse the resources of `a` to avoid unnecessary
+    /// but can be overridden to reuse the resources of `a` to avoid unnecessary
     /// allocations.
     #[inline(always)]
     fn clone_from(&mut self, source: &Self) {
@@ -141,7 +141,7 @@ pub trait DeepClone: Clone {
     /// Perform deep copy-assignment from `source`.
     ///
     /// `a.deep_clone_from(&b)` is equivalent to `a = b.deep_clone()` in
-    /// functionality, but can be overriden to reuse the resources of `a` to
+    /// functionality, but can be overridden to reuse the resources of `a` to
     /// avoid unnecessary allocations.
     #[inline(always)]
     fn deep_clone_from(&mut self, source: &Self) {