Skip to content

Conversation

@AlfredWilmot
Copy link

@AlfredWilmot AlfredWilmot commented Jul 19, 2025

Trailing white-space was programmatically removed from .md files using bash:

find ./content/tokio/ -name "*.md" | xargs -I {} sed -E -i 's/\s+$//' {}

Both doc-test and tutorial-code tests are passing following the changes introduced by this PR:

cd doc-test/
RUSTFLAGS="--cfg tokio_unstable" cargo +nightly test
image

Note

Although not related to this PR, it looks like there are no unit-tests in the tutorial code:

cd tutorial-code/
cargo test --all
image

At first I though I might need to configure the RUSTFLAG (similar to doc-test), however this check confirms there aren't any unit-tests in tutorial-code/ at present:

find tutorial-code/ -name "*.rs" | xargs -I {} grep "test" {} | wc -l
# 0

@AlfredWilmot AlfredWilmot force-pushed the tidy-tutorial-topic-md-files branch from e6933d3 to dbe4e9b Compare July 19, 2025 23:43
This was done using the following shell command:
```bash
find ./content/tokio/ -name "*.md" | xargs -I {} sed -E -i 's/\s+$//' {}
```

Signed-off-by: AlfredWilmot <[email protected]>
@AlfredWilmot AlfredWilmot force-pushed the tidy-tutorial-topic-md-files branch from dbe4e9b to 90737bb Compare July 20, 2025 09:28
@AlfredWilmot AlfredWilmot changed the title Removed trailing whitespace from md files under content/tokio/ Remove trailing white-space from md files under content/tokio/ Jul 20, 2025
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