aboutsummaryrefslogtreecommitdiff
path: root/lib/src/lints/empty_pattern.rs
diff options
context:
space:
mode:
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;