Skip to content

Commit 24377ca

Browse files
committed
ignore macro
1 parent 7a62996 commit 24377ca

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

  • crates/vespera_macro/src

crates/vespera_macro/src/lib.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,7 @@ pub fn route(attr: TokenStream, item: TokenStream) -> TokenStream {
6767

6868
type SchemaStorage = LazyLock<Mutex<Vec<StructMetadata>>>;
6969

70-
// Schema Storage global variable
71-
#[cfg(not(tarpaulin_include))]
72-
static SCHEMA_STORAGE: SchemaStorage = LazyLock::new(|| Mutex::new(Vec::<StructMetadata>::new()));
70+
static SCHEMA_STORAGE: SchemaStorage = LazyLock::new(|| Mutex::new(Vec::new()));
7371

7472
/// Extract custom schema name from #[schema(name = "...")] attribute
7573
fn extract_schema_name_attr(attrs: &[syn::Attribute]) -> Option<String> {

0 commit comments

Comments
 (0)