diff --git a/yara-x/src/compiler/rules.rs b/yara-x/src/compiler/rules.rs index e6074b440..1ffeed357 100644 --- a/yara-x/src/compiler/rules.rs +++ b/yara-x/src/compiler/rules.rs @@ -90,9 +90,9 @@ pub struct Rules { /// vector. This vector contains both forward and backward code. pub(in crate::compiler) re_code: Vec, - /// A [`Struct`] in serialized form that contains all the global variables. - /// Each field in the structure corresponds to a global variable defined - /// at compile time using [`crate::compiler::Compiler`]. + /// A [`types::Struct`] in serialized form that contains all the global + /// variables. Each field in the structure corresponds to a global variable + /// defined at compile time using [`crate::compiler::Compiler`]. pub(in crate::compiler) serialized_globals: Vec, /// Aho-Corasick automaton containing the atoms extracted from the patterns.