File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -15,21 +15,21 @@ use directive::{Directive, DirectiveKind};
15
15
16
16
static LINE_PATTERN : LazyLock < Regex > = LazyLock :: new ( || {
17
17
RegexBuilder :: new (
18
- r# "
18
+ r"
19
19
^\s*
20
20
//@\s+
21
21
(?P<negated>!?)
22
22
(?P<directive>[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*)
23
23
(?P<args>.*)$
24
- "# ,
24
+ " ,
25
25
)
26
26
. ignore_whitespace ( true )
27
27
. build ( )
28
28
. unwrap ( )
29
29
} ) ;
30
30
31
31
static DEPRECATED_LINE_PATTERN : LazyLock < Regex > =
32
- LazyLock :: new ( || RegexBuilder :: new ( r# "//\s+@"# ) . build ( ) . unwrap ( ) ) ;
32
+ LazyLock :: new ( || RegexBuilder :: new ( r"//\s+@" ) . build ( ) . unwrap ( ) ) ;
33
33
34
34
/// ```
35
35
/// // Directive on its own line
@@ -39,7 +39,7 @@ static DEPRECATED_LINE_PATTERN: LazyLock<Regex> =
39
39
/// struct S; //@ ignored-directive
40
40
/// ```
41
41
static MIXED_LINE : LazyLock < Regex > =
42
- LazyLock :: new ( || RegexBuilder :: new ( r# ".*\S.*//@"# ) . build ( ) . unwrap ( ) ) ;
42
+ LazyLock :: new ( || RegexBuilder :: new ( r".*\S.*//@" ) . build ( ) . unwrap ( ) ) ;
43
43
44
44
struct ErrorReporter < ' a > {
45
45
/// See [`Config::template`].
You can’t perform that action at this time.
0 commit comments