I am writing a new crate and my code is here: rust-pangenome/src/main.rs at main · applicativesystem/rust-pangenome · GitHub and from the line 142 to 154 i am borrowing a member and pushing that into a another struct.
The same i have implemented at line 95 and 96 and it worked well as i borrow the clone vector and it worked well but in the line 142 to 154 it is giving error and i am not able to understand as why it is showing like that.
Can you all help me understand.