We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7a62996 commit 24377caCopy full SHA for 24377ca
1 file changed
crates/vespera_macro/src/lib.rs
@@ -67,9 +67,7 @@ pub fn route(attr: TokenStream, item: TokenStream) -> TokenStream {
67
68
type SchemaStorage = LazyLock<Mutex<Vec<StructMetadata>>>;
69
70
-// Schema Storage global variable
71
-#[cfg(not(tarpaulin_include))]
72
-static SCHEMA_STORAGE: SchemaStorage = LazyLock::new(|| Mutex::new(Vec::<StructMetadata>::new()));
+static SCHEMA_STORAGE: SchemaStorage = LazyLock::new(|| Mutex::new(Vec::new()));
73
74
/// Extract custom schema name from #[schema(name = "...")] attribute
75
fn extract_schema_name_attr(attrs: &[syn::Attribute]) -> Option<String> {
0 commit comments