Skip to content

Commit

Permalink
feat: add visibility
Browse files Browse the repository at this point in the history
  • Loading branch information
JakkuSakura committed May 22, 2024
1 parent defcdd7 commit d18cf89
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/field.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ pub trait WorkTableField {
#[macro_export]
macro_rules! field {
(
$index: expr, $f: ident: $ty: ty, $name: expr $(, primary = $indexed: expr)?
$index: expr, $v: vis $f: ident: $ty: ty, $name: expr $(, primary = $indexed: expr)?
) => {
pub struct $f;
$v struct $f;
impl $crate::WorkTableField for $f {
type Type = $ty;
const INDEX: usize = $index;
Expand Down

0 comments on commit d18cf89

Please sign in to comment.