-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix mock example and move it to a file for testing
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.
- Loading branch information
Showing
2 changed files
with
24 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters