Skip to content

Commit a2ab5a6

Browse files
chore: Apply suggestion
Co-authored-by: Nick <10092581+NickLarsenNZ@users.noreply.github.com>
1 parent 7dc644e commit a2ab5a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/contributor/pages/code-style-guide.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -552,7 +552,7 @@ For such cases code must use `expect` instead of `unwrap` to provide additional
552552
[source,rust]
553553
----
554554
static VERSION_REGEX: LazyLock<Regex> = LazyLock::new(|| {
555-
Regex::new(r".*").expect("failed to compile regex")
555+
Regex::new(r".*").expect("valid regular expression")
556556
});
557557
----
558558

0 commit comments

Comments
 (0)