Repository: nix-community/nixpkgs-fmt (rust)

Issue:
sample: missing space after inherit
In some cases when using `inherit` there is no white space inserted after the `;`  to separate the next element.

## Input
```nix
let
  a = {
    inherit foo; inherit bar;
  };
  b = {
    inherit foo; # Comment
  };
  c = {
    inherit foo; bar = baz;
  };
in
{ }

```

## Output
```nix
let
  a = {
    inherit foo;inherit bar;
  };
  b = {
    inherit foo;# Comment
  };
  c = {
    inherit foo; bar = baz;
  };
in
{ }

```

## Desired output

```nix
let
  a = {
    inherit foo; inherit bar;
  };
  b = {
    inherit foo; # Comment
  };
  c = {
    inherit foo; bar = baz;
  };
in
{ }

```


Pull request:
Fix #205 - Add space between inherit

Patch:
diff --git a/src/rules.rs b/src/rules.rs
index 2603c00..dd26076 100644
--- a/src/rules.rs
+++ b/src/rules.rs
@@ -74,7 +74,8 @@ pub(crate) fn spacing() -> SpacingDsl {
         .test("{}", "{ }")
         .inside(NODE_ATTR_SET).between(T!["{"], T!["}"]).single_space()
         .inside(NODE_ATTR_SET).before(NODE_KEY_VALUE).single_space_or_optional_newline()
-        .inside(NODE_ATTR_SET).between(NODE_KEY_VALUE, NODE_KEY_VALUE).single_space_or_newline()
+		.inside(NODE_ATTR_SET).between(NODE_KEY_VALUE, NODE_KEY_VALUE).single_space_or_newline()
+		.inside(NODE_ATTR_SET).between(NODE_INHERIT, [NODE_INHERIT, TOKEN_COMMENT]).single_space_or_optional_newline()
         .inside(NODE_ATTR_SET).between(NODE_KEY_VALUE, TOKEN_COMMENT).single_space_or_optional_newline()
 
         .test("{arg}: 92", "{ arg }: 92")


Test patch:
diff --git a/test_data/issue-205.bad.nix b/test_data/issue-205.bad.nix
new file mode 100644
index 0000000..cb47b51
--- /dev/null
+++ b/test_data/issue-205.bad.nix
@@ -0,0 +1,12 @@
+let
+  a = {
+    inherit foo;inherit bar;
+  };
+  b = {
+    inherit foo;# Comment
+  };
+  c = {
+    inherit foo;bar = baz;
+  };
+in
+{ }
diff --git a/test_data/issue-205.good.nix b/test_data/issue-205.good.nix
new file mode 100644
index 0000000..998ff3b
--- /dev/null
+++ b/test_data/issue-205.good.nix
@@ -0,0 +1,12 @@
+let
+  a = {
+    inherit foo; inherit bar;
+  };
+  b = {
+    inherit foo; # Comment
+  };
+  c = {
+    inherit foo; bar = baz;
+  };
+in
+{ }