math.complex: make mutable the Complex.re and Complex.im fields (#13540)
parent
809772db4e
commit
8ba4a3dd01
|
@ -7,7 +7,7 @@ module complex
|
|||
import math
|
||||
|
||||
pub struct Complex {
|
||||
pub:
|
||||
pub mut:
|
||||
re f64
|
||||
im f64
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue