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 c07b0c1 commit ea4f5fbCopy full SHA for ea4f5fb
src/whackds.md
@@ -114,10 +114,10 @@ x // x={true}
114
115
// Event handlers
116
event&={println!("hi");}
117
- // equivalent to `event={Handler(Rc::new(|event, detail|{println!("hi");})})}`
+ // equivalent to `event=fn{|event, detail|{println!("hi");}}`
118
119
// Functions
120
-f|={f} // equivalent to `f={Handler(Rc::new(f))}}`
+f=fn{f} // equivalent to `f={Handler(Rc::new(f))}}`
121
122
// Inline styles
123
s:style_property="css exp"
0 commit comments