File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -56,14 +56,14 @@ pub fn function_enum(
5656
5757 impl #enum_name {
5858 /// The stringified version of this function name.
59- const fn as_str( self ) -> & ' static str {
59+ pub const fn as_str( self ) -> & ' static str {
6060 match self {
6161 #( #as_str_arms , ) *
6262 }
6363 }
6464
6565 /// The base name enum for this function.
66- const fn base_name( self ) -> #base_enum {
66+ pub const fn base_name( self ) -> #base_enum {
6767 match self {
6868 #( #base_arms, ) *
6969 }
@@ -111,7 +111,7 @@ pub fn base_name_enum(
111111
112112 impl #item_name {
113113 /// The stringified version of this base name.
114- const fn as_str( self ) -> & ' static str {
114+ pub const fn as_str( self ) -> & ' static str {
115115 match self {
116116 #( #as_str_arms ) , *
117117 }
You can’t perform that action at this time.
0 commit comments