We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6f3a040 + 2493394 commit 9bd63daCopy full SHA for 9bd63da
src/attribute.md
@@ -23,6 +23,16 @@ Attributes can take arguments with different syntaxes:
23
* `#[attribute(key = "value")]`
24
* `#[attribute(value)]`
25
26
+Attributes can have multiple values and can be separated over multiple lines, too:
27
+
28
+```rust,ignore
29
+#[attribute(value, value2)]
30
31
32
+#[attribute(value, value2, value3,
33
+ value4, value5)]
34
+```
35
36
[cfg]: attribute/cfg.html
37
[crate]: attribute/crate.html
38
[lint]: https://en.wikipedia.org/wiki/Lint_%28software%29
0 commit comments