Skip to content

Conversation

@goose121
Copy link
Contributor

@goose121 goose121 commented Dec 8, 2020

The way the std::process::exit call in the top level doctest is currently commented out is somewhat confusing to readers (or at least does not flow well); this commit instead wraps it in a hidden if false { ... }, which will prevent it from running without affecting what the documentation looks like.

The way the `std::process::exit` call in the top level doctest is currently commented out is somewhat confusing to readers (or at least does not flow well); this commit instead wraps it in a hidden `if false { ... }`, which will prevent it from running without affecting what the documentation looks like.
@Techcable
Copy link
Member

@dpc please merge 😉

@dpc
Copy link
Contributor

dpc commented Feb 11, 2022

@Techcable Try now?

@Techcable Techcable merged commit c0c101f into slog-rs:master Feb 20, 2022
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.

3 participants