Hi There
i have a struct:
Struct Foo {
bar: String
}
impl Foo {
fn bar(&self){
let baz = *&self.bar + "foo" // (the "foo" part isn't important here)
}
}
I get
cannot move out of borrowed content
for *&self.bar
Is there a way I can get the value so I can concatenate it with foo?
`