3
1
Prechádzať zdrojové kódy

Make sigma::combiners::PrivScalarMap visible to other modules

It's useful for the substitution transformer, for example.
Ian Goldberg 1 rok pred
rodič
commit
3715b9f359
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  1. 1 1
      sigma_compiler_core/src/sigma/combiners.rs

+ 1 - 1
sigma_compiler_core/src/sigma/combiners.rs

@@ -10,7 +10,7 @@ use syn::Expr;
 /// For each [`Ident`](struct@syn::Ident) representing a private
 /// For each [`Ident`](struct@syn::Ident) representing a private
 /// `Scalar` (as listed in a [`VarDict`]) that appears in an [`Expr`],
 /// `Scalar` (as listed in a [`VarDict`]) that appears in an [`Expr`],
 /// call a given closure.
 /// call a given closure.
-struct PrivScalarMap<'a> {
+pub struct PrivScalarMap<'a> {
     /// The [`VarDict`] that maps variable names to their types
     /// The [`VarDict`] that maps variable names to their types
     pub vars: &'a VarDict,
     pub vars: &'a VarDict,