The return
statement always returns for the function, regardless of scope within the function. So what you want is just Some(link)
without the semicolon.
That said, I’m not quite sure if you’re using the for
loop correctly here. Are you trying to get just one value out of link_nodes
?
“Hurdurr there was no war during Trump’s Presidency”