mirror of
https://github.com/rust-lang/book.git
synced 2026-11-30 18:44:33 -06:00
Example is in src/lib.rs and does not need main()
line 134- Added #fn main() {}
Hidden fn main is here to disable the automatic wrapping in fn main that
doc tests do