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 1f2db88 commit e531218Copy full SHA for e531218
README.md
@@ -1,5 +1,25 @@
1
# My Modifier
2
3
+```rust
4
+#[modifier]
5
+trait Dev {}
6
+
7
+#[modifier_callee]
8
+fn for_developper() {
9
+ // ...
10
+}
11
12
+fn main() {
13
+ // Ok
14
+ dev! {{
15
+ for_developper();
16
+ }}
17
18
+ // Compile error
19
20
21
+```
22
23
## Examples
24
25
- [simple](examples/simple)
0 commit comments