Skip to content

Commit

Permalink
removed unused comments field
Browse files Browse the repository at this point in the history
  • Loading branch information
eneoli committed Aug 1, 2024
1 parent 246d01a commit 728f7cb
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions tsify-next-macros/src/attrs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@ pub struct TsifyContainerAttrs {
pub namespace: bool,
/// Information about how the type should be serialized.
pub ty_config: TypeGenerationConfig,
/// Comments associated with the type. These will be written out to the generated Typescript.
pub comments: Vec<String>,
}

/// Configuration affecting how Typescript types are generated.
Expand Down Expand Up @@ -55,7 +53,6 @@ impl TsifyContainerAttrs {
vector_from_wasm_abi: false,
namespace: false,
ty_config: TypeGenerationConfig::default(),
comments: extract_doc_comments(&input.attrs),
};

for attr in &input.attrs {
Expand Down

0 comments on commit 728f7cb

Please sign in to comment.