cognitive-engineering-lab / rust-book

The Rust Programming Language: Experimental Edition
https://rust-book.cs.brown.edu
Other
506 stars 82 forks source link

Question 2 in 5.2 has confusing answer #61

Open said026 opened 1 year ago

said026 commented 1 year ago

Hello,

I think that the answer to this question may introduce confusion, since the end-user does not necessarily have access to stdout (Desktop/Web application ...) :

Display is for presenting values to an end-user, while Debug is for developers' internal use

https://github.com/cognitive-engineering-lab/rust-book/blob/ac7e98be8fdbd0ee81f2eeb049754a2b403631e8/quizzes/ch05-02-example-structs.toml#LL36C102-L36C114