Skip to content

Commit

Permalink
extra: fix spelling in docs.
Browse files Browse the repository at this point in the history
  • Loading branch information
huonw committed Dec 15, 2013
1 parent c126aa5 commit b0bcbbb
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion src/libextra/arc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ impl<T:Freeze + Send> MutexArc<T> {
* might contain nested MutexArcs inside.
*
* The purpose of this is to offer a safe implementation of MutexArc to be
* used instead of RWArc in cases where no readers are needed and sightly
* used instead of RWArc in cases where no readers are needed and slightly
* better performance is required.
*
* Both methods have the same failure behaviour as unsafe_access and
Expand Down
6 changes: 3 additions & 3 deletions src/libextra/getopts.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
//! file name following `-o`, and accepts both `-h` and `--help` as optional flags.
//!
//! ~~~{.rust}
//! exter mod extra;
//! extern mod extra;
//! use extra::getopts::*;
//! use std::os;
//!
Expand Down Expand Up @@ -114,7 +114,7 @@ pub enum Occur {
pub struct Opt {
/// Name of the option
name: Name,
/// Wheter it has an argument
/// Whether it has an argument
hasarg: HasArg,
/// How often it can occur
occur: Occur,
Expand Down Expand Up @@ -154,7 +154,7 @@ pub enum Fail_ {
UnexpectedArgument(~str),
}

/// The type of failure that occured.
/// The type of failure that occurred.
#[deriving(Eq)]
#[allow(missing_doc)]
pub enum FailType {
Expand Down
2 changes: 1 addition & 1 deletion src/libextra/tempfile.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ use std::io;
use std::io::fs;

/// A wrapper for a path to temporary directory implementing automatic
/// scope-pased deletion.
/// scope-based deletion.
pub struct TempDir {
priv path: Option<Path>
}
Expand Down
8 changes: 4 additions & 4 deletions src/libextra/uuid.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ identifiers to entities without requiring a central allocating authority.
They are particularly useful in distributed systems, though can be used in
disparate areas, such as databases and network protocols. Typically a UUID is
displayed in a readable string form as a sequence of hexadecimals digits,
displayed in a readable string form as a sequence of hexadecimal digits,
separated into groups by hyphens.
The uniqueness property is not strictly guaranteed, however for all practical
Expand Down Expand Up @@ -89,11 +89,11 @@ pub enum UuidVersion {
/// The reserved variants of UUIDs
#[deriving(Eq)]
pub enum UuidVariant {
/// Reserved by the NCS for backward compatability
/// Reserved by the NCS for backward compatibility
VariantNCS,
/// As described in the RFC4122 Specification (default)
VariantRFC4122,
/// Resreved by Microsoft for backward compatability
/// Reserved by Microsoft for backward compatibility
VariantMicrosoft,
/// Reserved for future expansion
VariantFuture,
Expand Down Expand Up @@ -313,7 +313,7 @@ impl Uuid {
str::from_utf8_owned(s)
}

/// Returns a string of hexadecimal digits, separated into groups with a hypen
/// Returns a string of hexadecimal digits, separated into groups with a hyphen.
///
/// Example: `550e8400-e29b-41d4-a716-446655440000`
pub fn to_hyphenated_str(&self) -> ~str {
Expand Down

5 comments on commit b0bcbbb

@bors
Copy link
Contributor

@bors bors commented on b0bcbbb Dec 15, 2013

Choose a reason for hiding this comment

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

saw approval from alexcrichton
at huonw@b0bcbbb

@bors
Copy link
Contributor

@bors bors commented on b0bcbbb Dec 15, 2013

Choose a reason for hiding this comment

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

merging huonw/rust/spellck = b0bcbbb into auto

@bors
Copy link
Contributor

@bors bors commented on b0bcbbb Dec 15, 2013

Choose a reason for hiding this comment

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

huonw/rust/spellck = b0bcbbb merged ok, testing candidate = ef7969e

@bors
Copy link
Contributor

@bors bors commented on b0bcbbb Dec 15, 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 b0bcbbb Dec 15, 2013

Choose a reason for hiding this comment

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

fast-forwarding master to auto = ef7969e

Please sign in to comment.