We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7dc644e commit a2ab5a6Copy full SHA for a2ab5a6
modules/contributor/pages/code-style-guide.adoc
@@ -552,7 +552,7 @@ For such cases code must use `expect` instead of `unwrap` to provide additional
552
[source,rust]
553
----
554
static VERSION_REGEX: LazyLock<Regex> = LazyLock::new(|| {
555
- Regex::new(r".*").expect("failed to compile regex")
+ Regex::new(r".*").expect("valid regular expression")
556
});
557
558
0 commit comments