Skip to content

Commit 57f1df9

Browse files
committed
threw on unresolved question about what rustfmt should do here
1 parent ae955a8 commit 57f1df9

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

text/3399-cfg-attribute-in-where.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -148,11 +148,13 @@ but that's not the way I would expect Rust to provide this kind of functionality
148148
# Unresolved questions
149149
[unresolved-questions]: #unresolved-questions
150150

151-
In theory, I don't see any harm in cfg-attributes decorating individual bounds on the right hand side of the colon. Is it worth adding that
151+
* In theory, I don't see any harm in cfg-attributes decorating individual bounds on the right hand side of the colon. Is it worth adding that
152152
potential feature as well? Personally, I don't see it as being worth the added complexity given that you can have multiple individual bound
153153
declarations for the same item. Doing so would also create an inconsistency, given that this isn't currently allowed in angle-bracketed
154154
bounds either.
155155

156+
* rustfmt is supposed to be able to format the where clause somehow, do we expect it to (try to) put the attribute on the same line, or would it always prefer the attribute on separate lines?
157+
156158
# Future possibilities
157159
[future-possibilities]: #future-possibilities
158160

0 commit comments

Comments
 (0)