Skip to content

Commit 58415ff

Browse files
committed
docs(ref): Clarify default-members and members relationship
The old statement that its a subset of `members` is incorrect because some members can be inferred and not show up in `members`. I tried to reword this to better convey the goal of what was being said
1 parent 0b15bef commit 58415ff

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/doc/src/reference/workspaces.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ a [virtual workspace](#virtual-workspace), it will apply to all members (as if
127127

128128
## The `default-members` field
129129

130-
The `default-members` field specifies the members to
130+
The `default-members` field specifies paths of [members](#the-members-and-exclude-fields) to
131131
operate on when in the workspace root and the package selection flags are not
132132
used:
133133

@@ -137,8 +137,6 @@ members = ["path/to/member1", "path/to/member2", "path/to/member3/*"]
137137
default-members = ["path/to/member2", "path/to/member3/foo"]
138138
```
139139

140-
When specified, `default-members` must expand to a subset of `members`.
141-
142140
## The `package` table
143141

144142
The `workspace.package` table is where you define keys that can be

0 commit comments

Comments
 (0)