diff --git a/src/tricks.md b/src/tricks.md index 51d8a31..a8e1e64 100644 --- a/src/tricks.md +++ b/src/tricks.md @@ -72,12 +72,12 @@ Also, we often need a reference (`&`) because most methods in gtk-rs take refere ```rust,ignore gtk::HeaderBar { - pack_start: >k::Label { + pack_start = >k::Label { // ... } }, gtk::Grid { - attach[0, 0, 1, 1]: >k::Label { + attach[0, 0, 1, 1] = >k::Label { // ... } }