make new function public
This commit is contained in:
parent
647d81b645
commit
dadb0f5818
@ -171,13 +171,13 @@ pub fn table(input: TokenStream) -> TokenStream {
|
||||
let expanded = quote! {
|
||||
#[automatically_derived]
|
||||
impl #ty_name {
|
||||
fn new(#new_args) -> Self {
|
||||
pub fn new(#new_args) -> Self {
|
||||
Self {
|
||||
id: Key::new(),
|
||||
#new_args_assignment
|
||||
}
|
||||
}
|
||||
const fn has_field(field: &[u8]) -> bool {
|
||||
pub const fn has_field(field: &[u8]) -> bool {
|
||||
match field {
|
||||
#has_field_matching
|
||||
_ => false,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user