Progress Indonesian-Translation ch02, ch12 and ch21#16
Open
dudinsdn wants to merge 1368 commits intorustid:indonesiafrom
Open
Progress Indonesian-Translation ch02, ch12 and ch21#16dudinsdn wants to merge 1368 commits intorustid:indonesiafrom
dudinsdn wants to merge 1368 commits intorustid:indonesiafrom
Conversation
Previously, when we incorporated Ferris into the container for the buttons, we were bringing along the visibility of the buttons even when it was important to know that the code wouldn’t compile. This changes that by showing and hiding the buttons themselves rather than their container. Fixes rust-lang#4274
…simplify Ferris: always show, even when it’s small
Clarified the misunderstanding b/w crates, module, items
…ions Ch 10.1 minor clarifications
Ch. 20: tell folks to see the Reference for more ABI info
Ch. 18: correct discussion of delegation in `Post` methods
The code as actually written *did* conform to the expetaction of the text, but only because it was in a `lib.rs` file and so in a module distinct from the scope directly accessible from `main.rs`; as shown in the text presentation, however, it was not obvious that it was in a `lib.rs`, and that detail was elided. Rename the `lib.rs` to `guessing_game.rs` and declare it as a module in the `main.rs` file, update the `Listing` to name it, and update the text to call out the creation of the module.
Ch. 9: correctly demonstrate privacy with module
The former phrasing seemed to suggest that we _must not_ annotate types _unless_ there are multiple possibilities. In fact, we are allowed to add redundant annotations. Cases where no annotation is needed _despite_ multiple possible types -- e.g. `let n = 8` -- are, presumably, intentionally left out here, so not touching that.
Co-authored-by: Chris Krycho <hello@chriskrycho.com>
Ch. 10.3: clarify language detail
Ch. 20: correct listing number
…rase-improvemnt Ch. 17: another tweak to how we phrase things about sections
update tests after new attribute id added Co-authored-by: Chris Krycho <hello@chriskrycho.com>
Anchors on listings
Adopt the idiomatic pattern of separating `std` from third-party `use` statements, with the result that we get the ordering we want for Ch. 07 for “free”. Fixes rust-lang#3121
…use-statements Ch. 02: Consistent ordering of `use` statements
This is still a *bit* finicky, but it is slightly clearer than before, and at least addresses the underlying issue here. Fixes rust-lang#3645
…out-pub-use Ch. 07: Clarify sentences about `pub use`
…-one Ch. 01: Show how to work offline
Ch. 16: refactor 16-6 to using listing component
Fixes rust-lang#3545 Co-authored by: Karen Sarkisyan <karen.sarkisyan01@gmail.com> Co-authored by: Ludi Rehak <ludi317@gmail.com>
Now that rand 0.9 actually exists 😅 Hopefully version 0.999.0 won't exist for a while!! This should address some of the confusion in rust-lang#4508 and shouldn't need further updating even as rand's version increases (unless they go to 1.0 😳)
The default is OR search, which is less popular (and therefore more surprising) than AND search
Changelog: https://github.com/rust-lang/mdBook/blob/master/CHANGELOG.md#mdbook-051 This also changes it so that it is not necessary to install `mbdook-trpl`. This should make it easier to work with the book and the extension.
This changes the name of the `TrplNote` mdbook preprocessor so that it matches the name used in `book.toml`. The reason this needs to be in sync is that in upstream we use `MDBook::with_preprocessor` to replace the preprocessor, but unfortunately it grabs the name from the preprocessor itself. If these are out of sync, it ends up not being able to replace the old preprocessor config. The API in mdbook should probably be better to make it easier to manage the config. For now, this is probably the easiest fix.
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Progress translation Indonesian
ch02,ch12andch21.update formating
dprint.jsonc