From 6616125521d7e55d5832b3a938bae58c2fadc165 Mon Sep 17 00:00:00 2001 From: "Victor M. Alvarez" Date: Sat, 9 Sep 2023 00:34:33 +0200 Subject: [PATCH] doc: fix typo and link --- yara-x/src/compiler/mod.rs | 2 +- yara-x/src/re/fast/mod.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/yara-x/src/compiler/mod.rs b/yara-x/src/compiler/mod.rs index 20c681187..7f4ab2d3d 100644 --- a/yara-x/src/compiler/mod.rs +++ b/yara-x/src/compiler/mod.rs @@ -397,7 +397,7 @@ impl<'a> Compiler<'a> { /// /// In this other example the rule `foo` is put in the default namespace, /// but the rule `bar` is put under the `bar` namespace. This implies that - /// `foo` is not visible to `bar`, and the second all to `add_source` + /// `foo` is not visible to `bar`, and the second call to `add_source` /// fails. /// /// ``` diff --git a/yara-x/src/re/fast/mod.rs b/yara-x/src/re/fast/mod.rs index 9562f4a01..e637f5541 100644 --- a/yara-x/src/re/fast/mod.rs +++ b/yara-x/src/re/fast/mod.rs @@ -30,7 +30,7 @@ YARA prioritizes compiling regular expressions for [FastVM] and only resorts to [PikeVM] if the compilation fails due to incompatible constructs in the regular expression. -[FastVM]: crate::re::thompson::fastvm::FastVM +[FastVM]: fastvm::FastVM [PikeVM]: crate::re::thompson::pikevm::PikeVM */