File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
compiler-builtins/libm/crates/libm-macros/src 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(
56
56
57
57
impl #enum_name {
58
58
/// The stringified version of this function name.
59
- const fn as_str( self ) -> & ' static str {
59
+ pub const fn as_str( self ) -> & ' static str {
60
60
match self {
61
61
#( #as_str_arms , ) *
62
62
}
63
63
}
64
64
65
65
/// The base name enum for this function.
66
- const fn base_name( self ) -> #base_enum {
66
+ pub const fn base_name( self ) -> #base_enum {
67
67
match self {
68
68
#( #base_arms, ) *
69
69
}
@@ -111,7 +111,7 @@ pub fn base_name_enum(
111
111
112
112
impl #item_name {
113
113
/// The stringified version of this base name.
114
- const fn as_str( self ) -> & ' static str {
114
+ pub const fn as_str( self ) -> & ' static str {
115
115
match self {
116
116
#( #as_str_arms ) , *
117
117
}
You can’t perform that action at this time.
0 commit comments