Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix mock example and move it to a file for testing #1548

Merged
merged 1 commit into from
Dec 1, 2023
Merged

Conversation

mgeisler
Copy link
Collaborator

@mgeisler mgeisler commented Dec 1, 2023

I swear I tested this in an actual Rust file, but I somehow messed up when copy-pasting it into the example. The code is now in the test file so it will be correct.

Why is the indentation wrong? Because of

rust-lang/mdBook#1564

The indentation is not kept by the included content, which breaks the Markdown.

I swear I tested this in an actual Rust file, but I somehow messed up
when copy-pasting it into the example. The code is now in the test
file so it will be correct.

Why is the indentation wrong? Because of

  rust-lang/mdBook#1564

The indentation is not kept by the included content, which breaks the
Markdown.
@mgeisler mgeisler requested a review from djmitche December 1, 2023 17:33
@mgeisler mgeisler merged commit a277e7b into main Dec 1, 2023
34 checks passed
@mgeisler mgeisler deleted the fix-mock-cat branch December 1, 2023 22:19
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.

2 participants