about summary refs log tree commit diff
path: root/src/libstd/sys/windows
diff options
context:
space:
mode:
authorAaron Turon <aturon@mozilla.com>2015-01-29 14:33:11 -0800
committerAaron Turon <aturon@mozilla.com>2015-02-03 14:52:03 -0800
commit45ddf50cebd8f3353383e473327911c1f8b34cd6 (patch)
treef9f41a11f529a8f41a24e9ac52450011d9c63afb /src/libstd/sys/windows
parent3e39f0bc0e96f76610104918edaa5912f4f352df (diff)
downloadrust-45ddf50cebd8f3353383e473327911c1f8b34cd6.tar.gz
rust-45ddf50cebd8f3353383e473327911c1f8b34cd6.zip
Add new path module
Implements [RFC 474](https://github.com/rust-lang/rfcs/pull/474); see
that RFC for details/motivation for this change.

This initial commit does not include additional normalization or
platform-specific path extensions. These will be done in follow up
commits or PRs.
Diffstat (limited to 'src/libstd/sys/windows')
-rw-r--r--src/libstd/sys/windows/os_str.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/sys/windows/os_str.rs b/src/libstd/sys/windows/os_str.rs
index aab2406cef9..af94b56bf1f 100644
--- a/src/libstd/sys/windows/os_str.rs
+++ b/src/libstd/sys/windows/os_str.rs
@@ -18,7 +18,7 @@ use result::Result;
 use option::Option;
 use mem;
 
-#[derive(Clone)]
+#[derive(Clone, Hash)]
 pub struct Buf {
     pub inner: Wtf8Buf
 }