Skip to content

Commit 60b2ed3

Browse files
committed
Formatting
1 parent afb330a commit 60b2ed3

2 files changed

Lines changed: 4 additions & 18 deletions

File tree

src/lints/inherent_associated_pub_const_missing.ron

Lines changed: 4 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -44,25 +44,14 @@ SemverQuery(
4444
public_api @filter(op: "=", value: ["$true"])
4545
}
4646
47-
inherent_impl @fold @transform(op: "count") @filter(op: "=", value: ["$zero"]){
47+
inherent_impl @fold @transform(op: "count") @filter(op: "=", value: ["$zero"]) {
4848
associated_constant {
4949
name @filter(op: "=", value: ["%associated_constant"])
5050
}
5151
}
52-
}
53-
}
54-
or:
55-
item {
56-
... on ImplOwner {
57-
visibility_limit @filter(op: "=", value: ["$public"])
58-
name @output
59-
60-
importable_path {
61-
path @filter(op: "=", value: ["%path"])
62-
public_api @filter(op: "=", value: ["$true"])
63-
}
64-
65-
impl @fold @transform(op: "count") @filter(op: "=", value: ["$zero"]){
52+
53+
or:
54+
impl @fold @transform(op: "count") @filter(op: "=", value: ["$zero"]) {
6655
implemented_trait {
6756
trait {
6857
associated_constant {

test_outputs/inherent_associated_pub_const_missing.output.ron

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
{
44
"associated_constant": String("PublicConstantA"),
55
"name": String("StructA"),
6-
"orname": String("StructA"),
76
"path": List([
87
String("inherent_associated_pub_const_missing"),
98
String("StructA"),
@@ -15,7 +14,6 @@
1514
{
1615
"associated_constant": String("PublicConstantRenameA"),
1716
"name": String("StructA"),
18-
"orname": String("StructA"),
1917
"path": List([
2018
String("inherent_associated_pub_const_missing"),
2119
String("StructA"),
@@ -27,7 +25,6 @@
2725
{
2826
"associated_constant": String("PublicConstantI"),
2927
"name": String("StructE"),
30-
"orname": String("StructE"),
3128
"path": List([
3229
String("inherent_associated_pub_const_missing"),
3330
String("StructE"),

0 commit comments

Comments
 (0)