diff options
| author | bors <bors@rust-lang.org> | 2014-05-22 20:56:18 -0700 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2014-05-22 20:56:18 -0700 |
| commit | 02117dd1bc10c65ca1f56fd81996a573c88ccfd5 (patch) | |
| tree | 37eef5dbc14141cacc83d97e025cc398a85f7508 /src/libgraphviz | |
| parent | ec0258a381b88b5574e3f8ce72ae553ac3a574b7 (diff) | |
| parent | d3fde8476b9cdce734dcec6b2003a482c5908235 (diff) | |
| download | rust-02117dd1bc10c65ca1f56fd81996a573c88ccfd5.tar.gz rust-02117dd1bc10c65ca1f56fd81996a573c88ccfd5.zip | |
auto merge of #14357 : huonw/rust/spelling, r=pnkfelix
The span on a inner doc-comment would point to the next token, e.g. the span for the `a` line points to the `b` line, and the span of `b` points to the `fn`.
```rust
//! a
//! b
fn bar() {}
```
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 4d86ab530f2..ad9c4f986ec 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> { |
