Fix all spelling mistakes in history by typos tool

This commit is contained in:
Cautreoxit
2024-08-26 15:31:58 +08:00
committed by Tate, Hongliang Tian
parent b29d3b5409
commit 86f09eef75
120 changed files with 255 additions and 213 deletions

View File

@ -10,7 +10,7 @@ use crate::type_flag::TypeFlagDef;
const EMPTY_SET_NAME: &str = "::typeflags_util::Nil";
const SET_NAME: &str = "::typeflags_util::Cons";
/// A flagSet represent the combination of differnt flag item.
/// A flagSet represent the combination of different flag item.
/// e.g. [Read, Write], [Read], [] are all flag sets.
/// The order of flagItem does not matters. So flag sets with same sets of items should be viewed as the same set.
#[derive(Debug)]

View File

@ -25,8 +25,8 @@ pub fn expand_type_flag(type_flags_def: &TypeFlagDef) -> TokenStream {
all_tokens.append_all(impl_main_trait_tokens);
});
let impl_set_entend_tokens = impl_set_extend(type_flags_def, &flag_sets);
all_tokens.append_all(impl_set_entend_tokens);
let impl_set_intend_tokens = impl_set_extend(type_flags_def, &flag_sets);
all_tokens.append_all(impl_set_intend_tokens);
let export_declarive_macro_tokens = export_declarive_macro(type_flags_def, &flag_sets);
all_tokens.append_all(export_declarive_macro_tokens);