Skip to content

Commit

Permalink
clone: fix docstring
Browse files Browse the repository at this point in the history
@t and @mut T for T: Const have DeepClone
  • Loading branch information
thestinger committed Jun 4, 2013
1 parent 69511c2 commit 61ac5fd
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/libstd/clone.rs
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,7 @@ clone_impl!(char)
/// managed boxes which would otherwise not be copied.
pub trait DeepClone {
/// Return a deep copy of the value. Unlike `Clone`, the contents of shared pointer types
/// *are* copied. Note that this is currently unimplemented for managed boxes, as
/// it would need to handle cycles, but it is implemented for other smart-pointer types.
/// *are* copied.
fn deep_clone(&self) -> Self;
}

Expand Down

5 comments on commit 61ac5fd

@bors
Copy link
Contributor

@bors bors commented on 61ac5fd Jun 4, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bors
Copy link
Contributor

@bors bors commented on 61ac5fd Jun 4, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

merging thestinger/rust/clone = 61ac5fd into auto

@bors
Copy link
Contributor

@bors bors commented on 61ac5fd Jun 4, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thestinger/rust/clone = 61ac5fd merged ok, testing candidate = c75c11a

@bors
Copy link
Contributor

@bors bors commented on 61ac5fd Jun 4, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bors
Copy link
Contributor

@bors bors commented on 61ac5fd Jun 4, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fast-forwarding incoming to auto = c75c11a

Please sign in to comment.