1
0
Fork 0
mirror of https://github.com/lise-henry/crowbook synced 2024-06-20 03:09:29 +02:00
crowbook/src/bin
Elisabeth Henry 54ca041d5a Clean Book constructors API
- Book::new takes an additional `options` parameter.
- Book::new_from_file_with_options becomes `new_from_file`, which got
  deleted.

This way, each constructor takes an `options` parameter (which can
be set to `&[]` for default options), allowing derived constructors to
not replicate the setting options code.
2016-03-03 20:56:28 +01:00
..
helpers.rs Clean Book constructors API 2016-03-03 20:56:28 +01:00
main.rs Clean Book constructors API 2016-03-03 20:56:28 +01:00