Skip to content

Commit 57781c3

Browse files
committed
auto merge of rust-lang#17019 : steveklabnik/rust/remove_compromise, r=thestinger
@dherman doesn't like it 😄
2 parents c964cb2 + d929d83 commit 57781c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/doc/guide.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -765,7 +765,7 @@ This is a deliberate design decision. While full-program inference is possible,
765765
languages which have it, like Haskell, often suggest that documenting your
766766
types explicitly is a best-practice. We agree that forcing functions to declare
767767
types while allowing for inference inside of function bodies is a wonderful
768-
compromise between full inference and no inference.
768+
sweet spot between full inference and no inference.
769769

770770
What about returning a value? Here's a function that adds one to an integer:
771771

0 commit comments

Comments
 (0)