Update repository to the latest version#14
Open
anugrahzeputra wants to merge 1389 commits into
Open
Conversation
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>
…-chapter-talk Ch. 21: call out Chrome multiple-connections issue
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.
…utorial.md to ch10-03-lifetime-syntax.md
…h14-05-extending-cargo.md
…md to appendix-07-nightly-rust.md
appendix-07-nightly-rust.md, ADMIN_TASKS.md, CONTRIBUTING.md, README.md, style-guide.md, TODO.md
get the latest book
# Conflicts: # CONTRIBUTING.md # README.md # src/appendix-01-keywords.md # src/appendix-02-operators.md # src/appendix-03-derivable-traits.md # src/appendix-04-useful-development-tools.md # src/appendix-05-editions.md # src/appendix-07-nightly-rust.md # src/ch00-00-introduction.md # src/ch01-01-installation.md # src/ch01-02-hello-world.md # src/ch01-03-hello-cargo.md # src/ch02-00-guessing-game-tutorial.md # src/ch03-00-common-programming-concepts.md # src/ch03-01-variables-and-mutability.md # src/ch03-02-data-types.md # src/ch03-03-how-functions-work.md # src/ch03-04-comments.md # src/ch03-05-control-flow.md # src/ch04-01-what-is-ownership.md # src/ch04-02-references-and-borrowing.md # src/ch04-03-slices.md # src/ch05-00-structs.md # src/ch05-01-defining-structs.md # src/ch05-02-example-structs.md # src/ch05-03-method-syntax.md # src/ch06-00-enums.md # src/ch06-01-defining-an-enum.md # src/ch06-02-match.md # src/ch06-03-if-let.md # src/ch07-00-managing-growing-projects-with-packages-crates-and-modules.md # src/ch07-01-packages-and-crates.md # src/ch07-02-defining-modules-to-control-scope-and-privacy.md # src/ch07-03-paths-for-referring-to-an-item-in-the-module-tree.md # src/ch07-04-bringing-paths-into-scope-with-the-use-keyword.md # src/ch07-05-separating-modules-into-different-files.md # src/ch08-00-common-collections.md # src/ch08-01-vectors.md # src/ch08-02-strings.md # src/ch08-03-hash-maps.md # src/ch09-00-error-handling.md # src/ch09-01-unrecoverable-errors-with-panic.md # src/ch09-02-recoverable-errors-with-result.md # src/ch09-03-to-panic-or-not-to-panic.md # src/ch10-00-generics.md # src/ch10-01-syntax.md # src/ch10-02-traits.md # src/ch10-03-lifetime-syntax.md # src/ch11-00-testing.md # src/ch11-01-writing-tests.md # src/ch11-02-running-tests.md # src/ch11-03-test-organization.md # src/ch12-00-an-io-project.md # src/ch12-01-accepting-command-line-arguments.md # src/ch12-02-reading-a-file.md # src/ch12-03-improving-error-handling-and-modularity.md # src/ch12-04-testing-the-librarys-functionality.md # src/ch12-05-working-with-environment-variables.md # src/ch12-06-writing-to-stderr-instead-of-stdout.md # src/ch13-00-functional-features.md # src/ch13-01-closures.md # src/ch13-02-iterators.md # src/ch13-03-improving-our-io-project.md # src/ch13-04-performance.md # src/ch14-00-more-about-cargo.md # src/ch14-01-release-profiles.md # src/ch14-02-publishing-to-crates-io.md # src/ch14-03-cargo-workspaces.md # src/ch14-04-installing-binaries.md # src/ch14-05-extending-cargo.md # src/ch15-00-smart-pointers.md # src/ch15-01-box.md # src/ch15-02-deref.md # src/ch15-03-drop.md # src/ch15-04-rc.md # src/ch15-05-interior-mutability.md # src/ch15-06-reference-cycles.md # src/ch16-00-concurrency.md # src/ch16-01-threads.md # src/ch16-02-message-passing.md # src/ch16-03-shared-state.md # src/ch16-04-extensible-concurrency-sync-and-send.md # src/ch17-00-async-await.md # src/ch17-01-futures-and-syntax.md # src/ch17-02-concurrency-with-async.md # src/ch17-03-more-futures.md # src/ch17-04-streams.md # src/ch17-05-traits-for-async.md # src/ch17-06-futures-tasks-threads.md # src/ch18-01-what-is-oo.md # src/ch18-02-trait-objects.md # src/ch18-03-oo-design-patterns.md # src/ch19-00-patterns.md # src/ch19-01-all-the-places-for-patterns.md # src/ch19-02-refutability.md # src/ch19-03-pattern-syntax.md # src/ch20-00-advanced-features.md # src/ch20-01-unsafe-rust.md # src/ch20-02-advanced-traits.md # src/ch20-03-advanced-types.md # src/ch20-04-advanced-functions-and-closures.md # src/ch20-05-macros.md # src/ch21-00-final-project-a-web-server.md # src/ch21-01-single-threaded.md # src/ch21-02-multithreaded.md # src/ch21-03-graceful-shutdown-and-cleanup.md # src/foreword.md # src/title-page.md
appendix-07-nightly-rust.md, ADMIN_TASKS.md, CONTRIBUTING.md, README.md, style-guide.md, TODO.md
…endices, and resolve merge conflicts from main
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.
I want to add a new version. a raw material in english that would translated soon.