math.complex: make mutable the Complex.re and Complex.im fields (#13540)

pull/13553/head
simon place 2022-02-21 10:39:45 +00:00 committed by GitHub
parent 809772db4e
commit 8ba4a3dd01
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@ module complex
import math import math
pub struct Complex { pub struct Complex {
pub: pub mut:
re f64 re f64
im f64 im f64
} }