aboutsummaryrefslogtreecommitdiff
path: root/lib/src/lints/empty_pattern.rs
diff options
context:
space:
mode:
authorfigsoda <[email protected]>2021-11-01 00:45:57 +0000
committerfigsoda <[email protected]>2021-11-01 00:45:57 +0000
commit78dda5ec5a637b7756ae17d69ff90cf5de210404 (patch)
tree66e2ddbf63f214d9410cd08530a7aac7f2ea1d95 /lib/src/lints/empty_pattern.rs
parent150106459f7a8e0325fe85c41919cc32f2f19964 (diff)
fix tests
Diffstat (limited to 'lib/src/lints/empty_pattern.rs')
-rw-r--r--lib/src/lints/empty_pattern.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/src/lints/empty_pattern.rs b/lib/src/lints/empty_pattern.rs
index 5312548..c0cb5a4 100644
--- a/lib/src/lints/empty_pattern.rs
+++ b/lib/src/lints/empty_pattern.rs
@@ -18,7 +18,7 @@ use rnix::{
18/// 18///
19/// ## Example 19/// ## Example
20/// 20///
21/// ``` 21/// ```nix
22/// client = { ... }: { 22/// client = { ... }: {
23/// imports = [ self.nixosModules.irmaseal-pkg ]; 23/// imports = [ self.nixosModules.irmaseal-pkg ];
24/// services.irmaseal-pkg.enable = true; 24/// services.irmaseal-pkg.enable = true;
@@ -28,7 +28,7 @@ use rnix::{
28/// Replace the empty variadic pattern with `_` to indicate that you 28/// Replace the empty variadic pattern with `_` to indicate that you
29/// intend to ignore the argument: 29/// intend to ignore the argument:
30/// 30///
31/// ``` 31/// ```nix
32/// client = _: { 32/// client = _: {
33/// imports = [ self.nixosModules.irmaseal-pkg ]; 33/// imports = [ self.nixosModules.irmaseal-pkg ];
34/// services.irmaseal-pkg.enable = true; 34/// services.irmaseal-pkg.enable = true;