Skip to content

Commit 9db2c73

Browse files
committed
docs: minor fixes in comment.
1 parent 7e851dc commit 9db2c73

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

lib/src/compiler/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -230,15 +230,15 @@ struct Namespace {
230230
/// .add_source(r#"
231231
/// rule always_false {
232232
/// condition: false
233-
/// }"#)?;///
233+
/// }"#)?;
234234
///
235235
/// let rules = compiler.build();
236236
///
237237
/// # Ok::<(), Box<dyn std::error::Error>>(())
238238
/// ```
239239
///
240240
pub struct Compiler<'a> {
241-
/// Mimics YARA behaviour with respect to regular expressions, allowing
241+
/// Mimics YARA behavior with respect to regular expressions, allowing
242242
/// some constructs that are invalid in YARA-X by default, like invalid
243243
/// escape sequences.
244244
relaxed_re_syntax: bool,

0 commit comments

Comments
 (0)