We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
pub
1 parent 5e360c1 commit 2e9bd1dCopy full SHA for 2e9bd1d
crates/libm-macros/src/enums.rs
@@ -56,14 +56,14 @@ pub fn function_enum(
56
57
impl #enum_name {
58
/// The stringified version of this function name.
59
- const fn as_str(self) -> &'static str {
+ pub const fn as_str(self) -> &'static str {
60
match self {
61
#( #as_str_arms , )*
62
}
63
64
65
/// The base name enum for this function.
66
- const fn base_name(self) -> #base_enum {
+ pub const fn base_name(self) -> #base_enum {
67
68
#( #base_arms, )*
69
@@ -111,7 +111,7 @@ pub fn base_name_enum(
111
112
impl #item_name {
113
/// The stringified version of this base name.
114
115
116
#( #as_str_arms ),*
117
0 commit comments