Skip to content

Fix (README.md): Add sh language to bare code fences to avoid doctest failures#1

Open
edmundlod wants to merge 1 commit intopimalaya:masterfrom
edmundlod:fix/readme-doctests
Open

Fix (README.md): Add sh language to bare code fences to avoid doctest failures#1
edmundlod wants to merge 1 commit intopimalaya:masterfrom
edmundlod:fix/readme-doctests

Conversation

@edmundlod
Copy link
Copy Markdown

Bare ``` fences in README.md are interpreted as Rust code blocks by the doctest runner (via include_str!("../README.md") in `lib.rs`), causing test failures.

Adding sh as the language specifier marks them as non-Rust, so cargo test no longer tries to compile shell commands as Rust code.

Updated code block formatting in README.md for installation instructions and usage examples.
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.

1 participant