Skip to content

Commit

Permalink
Add link to documentation of wasm_bindgen macro (#4401)
Browse files Browse the repository at this point in the history
  • Loading branch information
SwishSwushPow authored Jan 9, 2025
1 parent c9ee617 commit 949b6c6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crates/macro/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ extern crate proc_macro;
use proc_macro::TokenStream;
use quote::quote;

/// A list of all the attributes can be found here: https://rustwasm.github.io/docs/wasm-bindgen/reference/attributes/index.html
#[proc_macro_attribute]
pub fn wasm_bindgen(attr: TokenStream, input: TokenStream) -> TokenStream {
match wasm_bindgen_macro_support::expand(attr.into(), input.into()) {
Expand Down

0 comments on commit 949b6c6

Please sign in to comment.