Skip to content

Commit 62f4a7f

Browse files
committed
[ja] apply patch
1 parent 2745528 commit 62f4a7f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ja/ebook/02.5.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -160,8 +160,8 @@ methodはstructの上でしか使用されないのでしょうか?当然違
160160
v := 0.00
161161
k := Color(WHITE)
162162
for _, b := range bl {
163-
if b.Volume() > v {
164-
v = b.Volume()
163+
if bv := b.Volume(); bv > v {
164+
v = bv
165165
k = b.color
166166
}
167167
}

0 commit comments

Comments
 (0)