Comment on My Rust experience after eight yearsparentComments−jessekv1yIf you have to wrap it in parens, it might be shorter but it's not really clearer.In other contexts, parens are a good indication it's time for a new line.But I can agree something like this does look clean and clear: if value := obj.get("key"): ...
Comments
If you have to wrap it in parens, it might be shorter but it's not really clearer.
In other contexts, parens are a good indication it's time for a new line.
But I can agree something like this does look clean and clear: