Skip to content

Use recommended message style in example#4671

Open
stfn2xu wants to merge 1 commit intorust-lang:mainfrom
stfn2xu:patch-1
Open

Use recommended message style in example#4671
stfn2xu wants to merge 1 commit intorust-lang:mainfrom
stfn2xu:patch-1

Conversation

@stfn2xu
Copy link

@stfn2xu stfn2xu commented Feb 9, 2026

The first example in ch03-02 had a message in the expect call written contrary to style recommendations in

https://doc.rust-lang.org/stable/std/error/index.html#common-message-styles

The example was not wrong, just missing an opportunity to reinforce style norms for beginners.

The first example in ch03-02 had a message in the `expect` call written contrary to style recommendations in 

https://doc.rust-lang.org/stable/std/error/index.html#common-message-styles

The example was not *wrong*, just missing an opportunity to reinforce style norms for beginners.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant