Skip to content

Commit 4581e7c

Browse files
committed
Reformat use declarations.
The previous commit updated `rustfmt.toml` appropriately. This commit is the outcome of running `x fmt --all` with the new formatting options.
1 parent fa7ed8a commit 4581e7c

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -279,12 +279,12 @@
279279
#![feature(rustdoc_internals)]
280280
// tidy-alphabetical-end
281281

282-
use LabelText::*;
283-
284282
use std::borrow::Cow;
285283
use std::io;
286284
use std::io::prelude::*;
287285

286+
use LabelText::*;
287+
288288
/// The text for a graphviz label on a node or edge.
289289
pub enum LabelText<'a> {
290290
/// This kind of label preserves the text directly as is.

src/tests.rs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
1-
use super::LabelText::{self, EscStr, HtmlStr, LabelStr};
2-
use super::{render, Edges, GraphWalk, Id, Labeller, Nodes, Style};
31
use std::io;
42
use std::io::prelude::*;
3+
54
use NodeLabels::*;
65

6+
use super::LabelText::{self, EscStr, HtmlStr, LabelStr};
7+
use super::{render, Edges, GraphWalk, Id, Labeller, Nodes, Style};
8+
79
/// each node is an index in a vector in the graph.
810
type Node = usize;
911
struct Edge {

0 commit comments

Comments
 (0)