Skip to content

Commit

Permalink
Format imports in expandtest inputs
Browse files Browse the repository at this point in the history
  • Loading branch information
dtolnay committed Nov 26, 2019
1 parent 9048660 commit 4fefa7a
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion test_suite/tests/expand/default_ty_param.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use serde::{Serialize, Deserialize};
use serde::{Deserialize, Serialize};

trait AssociatedType {
type X;
Expand Down
2 changes: 1 addition & 1 deletion test_suite/tests/expand/generic_enum.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use serde::{Serialize, Deserialize};
use serde::{Deserialize, Serialize};

#[derive(Serialize, Deserialize)]
pub enum GenericEnum<T, U> {
Expand Down
2 changes: 1 addition & 1 deletion test_suite/tests/expand/generic_struct.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use serde::{Serialize, Deserialize};
use serde::{Deserialize, Serialize};

#[derive(Serialize, Deserialize)]
pub struct GenericStruct<T> {
Expand Down
2 changes: 1 addition & 1 deletion test_suite/tests/expand/generic_tuple_struct.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use serde::{Serialize, Deserialize};
use serde::{Deserialize, Serialize};

#[derive(Deserialize)]
pub struct GenericTupleStruct<T, U>(T, U);
2 changes: 1 addition & 1 deletion test_suite/tests/expand/lifetimes.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use serde::{Serialize, Deserialize};
use serde::{Deserialize, Serialize};

#[derive(Serialize, Deserialize)]
enum Lifetimes<'a> {
Expand Down
2 changes: 1 addition & 1 deletion test_suite/tests/expand/named_map.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use serde::{Serialize, Deserialize};
use serde::{Deserialize, Serialize};

#[derive(Serialize)]
struct SerNamedMap<'a, 'b, A: 'a, B: 'b, C> {
Expand Down
2 changes: 1 addition & 1 deletion test_suite/tests/expand/named_tuple.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use serde::{Serialize, Deserialize};
use serde::{Deserialize, Serialize};

#[derive(Serialize)]
struct SerNamedTuple<'a, 'b, A: 'a, B: 'b, C>(&'a A, &'b mut B, C);
Expand Down
2 changes: 1 addition & 1 deletion test_suite/tests/expand/named_unit.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use serde::{Serialize, Deserialize};
use serde::{Deserialize, Serialize};

#[derive(Serialize, Deserialize)]
struct NamedUnit;
2 changes: 1 addition & 1 deletion test_suite/tests/expand/void.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use serde::{Serialize, Deserialize};
use serde::{Deserialize, Serialize};

#[derive(Serialize, Deserialize)]
enum Void {}

0 comments on commit 4fefa7a

Please sign in to comment.