math.complex: make mutable the Complex.re and Complex.im fields (#13540)
parent
809772db4e
commit
8ba4a3dd01
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue