about summary refs log tree commit diff
path: root/src/libgraphviz
AgeCommit message (Collapse)AuthorLines
2014-05-06librustc: Remove `~EXPR`, `~TYPE`, and `~PAT` from the language, exceptPatrick Walton-1/+1
for `~str`/`~[]`. Note that `~self` still remains, since I forgot to add support for `Box<self>` before the snapshot. How to update your code: * Instead of `~EXPR`, you should write `box EXPR`. * Instead of `~TYPE`, you should write `Box<Type>`. * Instead of `~PATTERN`, you should write `box PATTERN`. [breaking-change]
2014-05-07Revise doc-comments for graphviz to avoid generating files from rustdoc runs.Felix S. Klock II-12/+39
Fix #13965. There is a dance here between the `main` that actually runs versus the `main` that is printed in the output documentation. We don't run the latter `main`, but we do at least compile (and thus type-check) it. It is still the responsibility of the documenter to ensure that the signatures of `fn render` are kept in sync across the blocks.
2014-05-05Placate rustdocs testable-by-default code blocks.Felix S. Klock II-1/+1
2014-05-02Updated maybe_owned_vec with review feedback.Felix S. Klock II-26/+96
Namely: * Added conversion traits both to and from the various vector types, analogous to how `str::MaybeOwned` works with `str::IntoMaybeOwned` and `str::Str`. This led me to add the `FixedLen` variant of `MaybeOwnedVector` for interoperability with `std::slice`. * Revised client example code to make use of `into_maybe_owned` * Added implementations of `Show` and `CloneableVector` for `MaybeOwnedVector`. * As suggested by kballard, added `into_vec` method that is analogous to `CloneableVector::into_owned` except it produces a `Vec` rather than a `~[T]`.
2014-05-02Add a `graphviz` crate for making .dot files to layout and render graphs.Felix S. Klock II-0/+817