The Rust Programming Language Forum
Implicit or explicit return in non-closures. What is more idiomatic?
help
steveklabnik
June 28, 2016, 8:09pm
4
The official style is "
return
is only for early returns."
show post in topic
Related topics
Topic
Replies
Views
Activity
Enable linting for implicit returns
help
24
3408
July 31, 2023
Clippy warnings to remove `return` a bit too much?
code review
10
3319
January 17, 2021
Explicit and implicit return in functions
7
20587
April 1, 2022
Implicit vs Explicit
community
20
3724
June 8, 2021
Explicit function exit markers
2
1097
December 2, 2015