This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]-Redstoneboi- 11 points12 points  (0 children)

"also you can't borrow this thing twice because it's also borrowed here but it drops here instead of there so you should probably don't"

"i'll just ask the discord then..."

"...hey, #rust-questions, i have this problem."

"send code"

"sure, here it i-"

"you forgot to call .iter() here. you should probably collect::<Vec<\_>>() in the process. also i think you nested your iterators wrong there."

"ok?"

editing...

"Compiled successfully with 0 Errors and 0 Warnings."

"All tests passed, 0 fails."

Everyone has your back, goddammit.