Skip to content

Commit 1cb2698

Browse files
Fix 1 occurrence of inline-unnecessary-begin
This `begin` form can be flattened into the surrounding definition context.
1 parent f21a55d commit 1cb2698

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

typed-racket-lib/typed-racket/typecheck/tc-let-unit.rkt

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -256,12 +256,12 @@
256256
non-bindings
257257
expected
258258
#:before-check-body
259-
(λ () (begin (for ([expr (in-list remaining-exprs)]
260-
[results (in-list given-rhs-types)])
261-
(match results
262-
[(list (tc-result: ts fs os) ...)
263-
(tc-expr/check expr (ret ts fs os))]))
264-
(check-thunk))))])))))
259+
(λ ()
260+
(for ([expr (in-list remaining-exprs)]
261+
[results (in-list given-rhs-types)])
262+
(match results
263+
[(list (tc-result: ts fs os) ...) (tc-expr/check expr (ret ts fs os))]))
264+
(check-thunk)))])))))
265265

266266
;; An lr-clause is a
267267
;; (lr-clause (Listof Identifier) Syntax)

0 commit comments

Comments
 (0)