From 67deb2e65e150a1b9b2fcd457da47e3e13b2c4f7 Mon Sep 17 00:00:00 2001 From: Patrick Walton Date: Mon, 18 Aug 2014 08:29:44 -0700 Subject: libsyntax: Remove the `use foo = bar` syntax from the language in favor of `use bar as foo`. Change all uses of `use foo = bar` to `use bar as foo`. Implements RFC #47. Closes #16461. [breaking-change] --- src/libgraphviz/lib.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/libgraphviz') diff --git a/src/libgraphviz/lib.rs b/src/libgraphviz/lib.rs index f55a1ca62f7..7cac0d25abf 100644 --- a/src/libgraphviz/lib.rs +++ b/src/libgraphviz/lib.rs @@ -47,7 +47,7 @@ forming a diamond-shaped acyclic graph and then pointing to the fifth which is cyclic. ```rust -use dot = graphviz; +use graphviz as dot; use graphviz::maybe_owned_vec::IntoMaybeOwnedVector; type Nd = int; @@ -147,7 +147,7 @@ labelled with the ⊆ character (specified using the HTML character entity `&sube`). ```rust -use dot = graphviz; +use graphviz as dot; use std::str; type Nd = uint; @@ -203,7 +203,7 @@ The output from this example is the same as the second example: the Hasse-diagram for the subsets of the set `{x, y}`. ```rust -use dot = graphviz; +use graphviz as dot; use std::str; type Nd<'a> = (uint, &'a str); -- cgit 1.4.1-3-g733a5