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.
1 parent 9f97aff commit ff47f84Copy full SHA for ff47f84
release-content/migration-guides/reflect_parenthesis.md
@@ -0,0 +1,25 @@
1
+---
2
+title: "`#[reflect(...)] now supports only parenthesis`"
3
+pull_requests: [21400]
4
5
+
6
+Previously, the `#[reflect(...)]` attribute of the `Reflect` derive macro
7
+supported parenthesis, braces, or brackets. Now it supports only parenthesis.
8
9
+```rust
10
+/// before
11
+#[derive(Clone, Reflect)
12
+#[reflect[Clone]]
13
14
+/// after
15
16
+#[reflect(Clone)]
17
18
19
20
+#[reflect{Clone}]
21
22
23
24
25
+```
0 commit comments