Merge pull request #94 from microsoft/fix_fmt

running cargo fmt
This commit is contained in:
Ryan Levick 2019-10-21 14:26:55 +02:00 коммит произвёл GitHub
Родитель a3663b2f91 d96d609115
Коммит 87e846ce03
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
4 изменённых файлов: 5 добавлений и 5 удалений

Просмотреть файл

@ -5,7 +5,8 @@ use syn::ItemStruct;
// We manually generate a ClassFactory without macros, otherwise // We manually generate a ClassFactory without macros, otherwise
// it leads to an infinite loop. // it leads to an infinite loop.
pub fn generate(struct_item: &ItemStruct) -> HelperTokenStream { pub fn generate(struct_item: &ItemStruct) -> HelperTokenStream {
let base_interface_idents = crate::co_class::class_factory::get_class_factory_base_interface_idents(); let base_interface_idents =
crate::co_class::class_factory::get_class_factory_base_interface_idents();
let aggr_map = crate::co_class::class_factory::get_class_factory_aggr_map(); let aggr_map = crate::co_class::class_factory::get_class_factory_aggr_map();
let struct_ident = &struct_item.ident; let struct_ident = &struct_item.ident;

Просмотреть файл

@ -21,8 +21,7 @@ pub fn generate(
let aggregate_fields = co_class::com_struct::gen_aggregate_fields(aggr_map); let aggregate_fields = co_class::com_struct::gen_aggregate_fields(aggr_map);
// COM Fields for an aggregable coclass. // COM Fields for an aggregable coclass.
let non_delegating_iunknown_field_ident = let non_delegating_iunknown_field_ident = crate::utils::non_delegating_iunknown_field_ident();
crate::utils::non_delegating_iunknown_field_ident();
let iunknown_to_use_field_ident = crate::utils::iunknown_to_use_field_ident(); let iunknown_to_use_field_ident = crate::utils::iunknown_to_use_field_ident();
quote!( quote!(