Skip to content

Commit 4cd1e2a

Browse files
committed
Rackety in docs example
1 parent 5d9bdb4 commit 4cd1e2a

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

gui-doc/scribblings/framework/frame.scrbl

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -62,15 +62,13 @@
6262
@method[top-level-window<%> show]
6363
methods.
6464

65-
It's implementation is:
65+
Its implementation is:
6666
@racketblock[
6767
(inherit can-close? on-close)
68-
(public
69-
[show
70-
(lambda ()
71-
(when (can-close?)
72-
(on-close)
73-
(show #f)))])]
68+
(define/public (show)
69+
(when (can-close?)
70+
(on-close)
71+
(show #f)))]
7472

7573
}
7674
@defmethod*[(((editing-this-file? (filename path?)) boolean?))]{

0 commit comments

Comments
 (0)