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

Convert Listings in Chapter 07 to <Listing> #3979

Merged

Conversation

SpectralPixel
Copy link
Contributor

Finally, here is chapter 07 adapted to the new <Listing> pre-processor. I'm not sure if everything works as intended since I couldn't get mdbook to behave properly on my machine, so please check the sanity of my changes.

I also changed numberless listings (as in, they have a file name, but no number), so feel free to revert those commits if they are not yet fully functional by the time they will be merged.

Please also check all the comments I have left in commit descriptions and the issue thread for further concerns I might have about the code.

(By the way, I also fixed some conflicts while moving the commits around)

Issue #3919

I am unsure whether this `<Listing>` will work properly due to no number being associated with it. @chriskrycho , since you implemented the pre-processor, could you please comment?
(Sorry if there is a way that I could have checked this myself, I am unsure how to build the book. I'm just editing in plain-text and crossing my fingers, hope the whole thing doesn't come crumbling down when it's built.)
…cter limit

More infos and concerns can be found in the equivalent commit, in the chapter 6 PR.
@chriskrycho chriskrycho merged commit e03be68 into rust-lang:main Oct 15, 2024
3 checks passed
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