rust-cookbook icon indicating copy to clipboard operation
rust-cookbook copied to clipboard

https://rust-lang-nursery.github.io/rust-cookbook

Results 130 rust-cookbook issues
Sort by recently updated
recently updated
newest added
trafficstars

This PR fixes an incorrect crate depending on

On this page, https://rust-lang-nursery.github.io/rust-cookbook/web/clients/download.html#download-a-file-to-a-temporary-directory The first example doesn't an image, but it doesn't work. - Temp file isn't created (or is removed right after). - If you download image to...

- Call finish to finalize the archive [recommended by tar](https://docs.rs/tar/0.4.41/tar/struct.Builder.html#method.append_dir_all). - Show an example of adding an archive **without** renaming it. - Callout differences between `tar::Builder` defaults and `tar(1)` defaults...

fixes #696 - updated env_logger from 0.5 to 0.11.3 - updated [log-env-variable.md](https://github.com/rust-lang-nursery/rust-cookbook/pull/697/files#diff-abdef16be3d868a3bc72c621888a321c4083bd8bd7d909bcb672eb5656c8ec68) examples to work correctly with the latest version of env_logger

there are instances of code that may have previously worked but are now outdated due to changes in the env_logger crate https://rust-lang-nursery.github.io/rust-cookbook/development_tools/debugging/config_log.html#use-a-custom-environment-variable-to-set-up-logging ```rs use std::env; use env_logger::Builder; fn main() {...

fixes #294 and contributes to #328. Please take a look @budziq, I'd love for the cookbook to have a simple example of Rust dynamically linking against a C/C++ shared library...

In Sort a Vector of Floats partial_cmp is used, which panics with NaN. For cases where a vector of floats can contain NaNs there is total_cmp (since Rust 1.64?) ```...

- fix #718 - added deploy - added link checker - added cargo test - added lychee config file - fixed xtask exit code - fix #722 - `CONTRIBUTING.md` (removed...

### Tasks for Fixing Broken Links #### **CONTRIBUTING.md** - [x] Fix or replace the link: [[Normal distribution documentation](https://docs.rs/rand/*/rand/distributions/struct.Normal.html)](https://docs.rs/rand/*/rand/distributions/struct.Normal.html) (Not Found) #### **src/encoding/string/url-encode.md** - [x] Fix or replace the link: [[form_urlencoded...

https://rust-lang-nursery.github.io/rust-cookbook/web/scraping.html#check-a-webpage-for-broken-links ``` Compiling playground v0.0.1 (/playground) error[E0670]: `async fn` is not permitted in Rust 2015 --> src/main.rs:31:1 | 31 | async fn get_base_url(url: &Url, doc: &Document) -> Result { |...