Skip to content

Commit 1f45821

Browse files
committed
Mention that function names can contain indicators to indicate optional values
1 parent 343e301 commit 1f45821

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

modules/contributor/pages/code-style-guide.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ let tls_settings = TlsSettings {};
7272
=== Optional function parameters and variables
7373

7474
Optional function parameters and variables containing `Option` must not use any prefixes or suffixes to indicate the value is of type `Option`.
75+
This rule does not apply to function names like `Client::get_opt()`.
7576

7677
[WARNING.code-rule,caption=Examples of incorrect code for this rule]
7778
====

0 commit comments

Comments
 (0)