Skip to content

Commit ad94050

Browse files
committed
Run rustfmt
1 parent bd555d9 commit ad94050

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

  • diesel_proc_macro_internal/src
  • diesel_proc_macro/src

diesel_proc_macro/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
#![cfg_attr(feature = "clippy", allow(option_map_unwrap_or_else, option_map_unwrap_or))]
88
#![cfg_attr(feature = "clippy",
99
warn(wrong_pub_self_convention, mut_mut, non_ascii_literal, similar_names,
10-
unicode_not_nfc, if_not_else, items_after_statements, used_underscore_binding))]
10+
unicode_not_nfc, if_not_else, items_after_statements, used_underscore_binding))]
1111

1212
#[allow(unused_imports)]
1313
#[macro_use]

diesel_proc_macro_internal/src/lib.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
#![cfg_attr(feature = "clippy", allow(option_map_unwrap_or_else, option_map_unwrap_or))]
88
#![cfg_attr(feature = "clippy",
99
warn(wrong_pub_self_convention, mut_mut, non_ascii_literal, similar_names,
10-
unicode_not_nfc, if_not_else, items_after_statements, used_underscore_binding))]
10+
unicode_not_nfc, if_not_else, items_after_statements, used_underscore_binding))]
1111

1212
extern crate diesel;
1313
extern crate diesel_infer_schema;
@@ -29,17 +29,17 @@ use syn::parse_derive_input;
2929

3030
#[proc_macro_derive(InferSchema, attributes(infer_schema_options))]
3131
pub fn derive_infer_schema(input: TokenStream) -> TokenStream {
32-
expand_derive(input, schema_inference::derive_infer_schema)
32+
expand_derive(input, schema_inference::derive_infer_schema)
3333
}
3434

3535
#[proc_macro_derive(InferTableFromSchema, attributes(infer_table_from_schema_options))]
3636
pub fn derive_infer_table_from_schema(input: TokenStream) -> TokenStream {
37-
expand_derive(input, schema_inference::derive_infer_table_from_schema)
37+
expand_derive(input, schema_inference::derive_infer_table_from_schema)
3838
}
3939

4040
#[proc_macro_derive(EmbedMigrations, attributes(embed_migrations_options))]
4141
pub fn derive_embed_migrations(input: TokenStream) -> TokenStream {
42-
expand_derive(input, embed_migrations::derive_embed_migrations)
42+
expand_derive(input, embed_migrations::derive_embed_migrations)
4343
}
4444

4545
fn expand_derive(input: TokenStream, f: fn(syn::DeriveInput) -> quote::Tokens) -> TokenStream {

0 commit comments

Comments
 (0)