about summary refs log tree commit diff
path: root/src/libuuid
diff options
context:
space:
mode:
authorJoseph Crail <jbcrail@gmail.com>2014-06-09 00:00:52 -0400
committerJoseph Crail <jbcrail@gmail.com>2014-06-10 11:24:17 -0400
commitc2c99463720e758d5aa0bdcea19dc5b3dd67292c (patch)
treeb6744e6d280594324f1f22fe8b76ccd03f7eedb0 /src/libuuid
parent0ee6a8e8a564ec0134ebdc0869fab5e4bb28024c (diff)
downloadrust-c2c99463720e758d5aa0bdcea19dc5b3dd67292c.tar.gz
rust-c2c99463720e758d5aa0bdcea19dc5b3dd67292c.zip
Fix more misspelled comments and strings.
Diffstat (limited to 'src/libuuid')
-rw-r--r--src/libuuid/lib.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libuuid/lib.rs b/src/libuuid/lib.rs
index 2459a7fc273..bace30e3f6f 100644
--- a/src/libuuid/lib.rs
+++ b/src/libuuid/lib.rs
@@ -462,7 +462,7 @@ impl FromStr for Uuid {
     /// Parse a hex string and interpret as a UUID
     ///
     /// Accepted formats are a sequence of 32 hexadecimal characters,
-    /// with or without hypens (grouped as 8, 4, 4, 4, 12).
+    /// with or without hyphens (grouped as 8, 4, 4, 4, 12).
     fn from_str(us: &str) -> Option<Uuid> {
         let result = Uuid::parse_string(us);
         match result {
@@ -492,7 +492,7 @@ impl Eq for Uuid {}
 
 // FIXME #9845: Test these more thoroughly
 impl<T: Encoder<E>, E> Encodable<T, E> for Uuid {
-    /// Encode a UUID as a hypenated string
+    /// Encode a UUID as a hyphenated string
     fn encode(&self, e: &mut T) -> Result<(), E> {
         e.emit_str(self.to_hyphenated_str().as_slice())
     }