Skip to content

Commit ad7937f

Browse files
committed
Update docs of macros crate.
1 parent 525a446 commit ad7937f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

macros/src/lib.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
//! Helper crate for `inline-python` and `ct-python`.
2+
13
#![feature(proc_macro_span)]
24

35
extern crate proc_macro;
@@ -103,6 +105,7 @@ fn check_no_attribute(input: TokenStream) -> Result<(), TokenStream> {
103105
Ok(())
104106
}
105107

108+
#[doc(hidden)]
106109
#[proc_macro]
107110
pub fn python(input: TokenStream1) -> TokenStream1 {
108111
TokenStream1::from(match python_impl(TokenStream::from(input)) {
@@ -111,6 +114,7 @@ pub fn python(input: TokenStream1) -> TokenStream1 {
111114
})
112115
}
113116

117+
#[doc(hidden)]
114118
#[proc_macro]
115119
pub fn ct_python(input: TokenStream1) -> TokenStream1 {
116120
TokenStream1::from(match ct_python_impl(TokenStream::from(input)) {

0 commit comments

Comments
 (0)