Skip to content

Commit 949b6c6

Browse files
Add link to documentation of wasm_bindgen macro (#4401)
1 parent c9ee617 commit 949b6c6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

crates/macro/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ extern crate proc_macro;
55
use proc_macro::TokenStream;
66
use quote::quote;
77

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

0 commit comments

Comments
 (0)