1
0
mirror of https://github.com/google/comprehensive-rust.git synced 2025-03-22 06:51:58 +02:00
Dustin J. Mitchell 44a79741ff
Be more consistent about tests vs. main ()
The content slides all use `fn main`, with the exception of the testing
segment. But with this change, where it makes sense exercises use tests
instead, and not both tests and `fn main`.

A small change in `book.js` supports running tests when a code sample
does not have `fn main` but does have `#[test]`, so these work
naturally.

Fixes .
2025-02-18 20:13:16 +00:00
..
2024-03-22 12:15:54 -04:00