diff options
| author | Michael Darakananda <pongad@gmail.com> | 2014-03-05 01:19:14 -0500 |
|---|---|---|
| committer | Michael Darakananda <pongad@gmail.com> | 2014-03-08 15:09:00 -0500 |
| commit | 438893b36fe241b37eb76250f7c38ac8832f5706 (patch) | |
| tree | 3cf612ba7c19fcc473a7f4e11ac984224a5c885d /src/libstd/path/windows.rs | |
| parent | 96e8c00e95b1980c429c5cfa4aae33e3cc60f3c5 (diff) | |
| download | rust-438893b36fe241b37eb76250f7c38ac8832f5706.tar.gz rust-438893b36fe241b37eb76250f7c38ac8832f5706.zip | |
Removed DeepClone. Issue #12698.
Diffstat (limited to 'src/libstd/path/windows.rs')
| -rw-r--r-- | src/libstd/path/windows.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstd/path/windows.rs b/src/libstd/path/windows.rs index 90f7890f9ea..5b358819e41 100644 --- a/src/libstd/path/windows.rs +++ b/src/libstd/path/windows.rs @@ -79,7 +79,7 @@ pub type RevComponents<'a> = Map<'a, Option<&'a str>, &'a [u8], // // The only error condition imposed here is valid utf-8. All other invalid paths are simply // preserved by the data structure; let the Windows API error out on them. -#[deriving(Clone, DeepClone)] +#[deriving(Clone)] pub struct Path { priv repr: ~str, // assumed to never be empty priv prefix: Option<PathPrefix>, @@ -942,7 +942,7 @@ pub fn is_sep_byte_verbatim(u: &u8) -> bool { } /// Prefix types for Path -#[deriving(Eq, Clone, DeepClone)] +#[deriving(Eq, Clone)] pub enum PathPrefix { /// Prefix `\\?\`, uint is the length of the following component VerbatimPrefix(uint), |
