diff options
| author | Huon Wilson <dbau.pp+github@gmail.com> | 2014-05-22 22:50:31 +1000 |
|---|---|---|
| committer | Huon Wilson <dbau.pp+github@gmail.com> | 2014-05-22 22:55:37 +1000 |
| commit | 37bd466e5898da17f474628461abdd023c4d6a4d (patch) | |
| tree | 11d21ca8cf5667aa3d6bb18c11333f200e95e90c /src/libgraphviz | |
| parent | e7e5e9ce962d8243edd418c6f6d549d5bb62a227 (diff) | |
| download | rust-37bd466e5898da17f474628461abdd023c4d6a4d.tar.gz rust-37bd466e5898da17f474628461abdd023c4d6a4d.zip | |
Spelling/doc formatting fixes.
Diffstat (limited to 'src/libgraphviz')
| -rw-r--r-- | src/libgraphviz/lib.rs | 4 | ||||
| -rw-r--r-- | src/libgraphviz/maybe_owned_vec.rs | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/libgraphviz/lib.rs b/src/libgraphviz/lib.rs index a87bb1e6752..bc5c77fcca5 100644 --- a/src/libgraphviz/lib.rs +++ b/src/libgraphviz/lib.rs @@ -395,7 +395,7 @@ pub trait Labeller<'a,N,E> { fn graph_id(&'a self) -> Id<'a>; /// Maps `n` to a unique identifier with respect to `self`. The - /// implementor is responsible for ensuring that the returned name + /// implementer is responsible for ensuring that the returned name /// is a valid DOT identifier. fn node_id(&'a self, n: &N) -> Id<'a>; @@ -457,7 +457,7 @@ pub type Edges<'a,E> = MaybeOwnedVector<'a,E>; /// that is bound by the self lifetime `'a`. /// /// The `nodes` and `edges` method each return instantiations of -/// `MaybeOwnedVector` to leave implementors the freedom to create +/// `MaybeOwnedVector` to leave implementers the freedom to create /// entirely new vectors or to pass back slices into internally owned /// vectors. pub trait GraphWalk<'a, N, E> { diff --git a/src/libgraphviz/maybe_owned_vec.rs b/src/libgraphviz/maybe_owned_vec.rs index 817f6348361..3015b6f12cc 100644 --- a/src/libgraphviz/maybe_owned_vec.rs +++ b/src/libgraphviz/maybe_owned_vec.rs @@ -31,7 +31,7 @@ use std::slice; /// Some clients will have a pre-allocated vector ready to hand off in /// a slice; others will want to create the set on the fly and hand /// off ownership, via either `Growable` or `FixedLen` depending on -/// which kind of vector they have constucted. (The `FixedLen` +/// which kind of vector they have constructed. (The `FixedLen` /// variant is provided for interoperability with `std::slice` methods /// that return `~[T]`.) pub enum MaybeOwnedVector<'a,T> { |
