```
error: unresolved link to `Box`
--> futures-util/src/future/always_ready.rs:43:83
|
43 | /// This is particularly useful in avoiding a heap allocation when an API needs [`Box<dyn Future<Output = T>>`],
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^ no item named `Box` in scope
|
= help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
= note: `-D rustdoc::broken-intra-doc-links` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(rustdoc::broken_intra_doc_links)]`
error: unresolved link to `stream.take`
--> futures-util/src/stream/repeat_with.rs:43:7
|
43 | /// [`stream.take()`], in order to make them finite.
| ^^^^^^^^^^^^^ no item named `stream.take` in scope
|
= help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
error: unresolved link to `stream.repeat`
--> futures-util/src/stream/repeat_with.rs:47:11
|
47 | /// the [`stream.repeat()`] function.
| ^^^^^^^^^^^^^^^ no item named `stream.repeat` in scope
|
= help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
error: unresolved link to `futures-util::stream::select`
--> futures-util/src/stream/select_with_strategy.rs:120:46
|
120 | /// Note: this special case is provided by [`futures-util::stream::select`].
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no item named `futures-util` in scope
```
This builds with the MSRV (1.68) and is convenient for creating `static`
mutexes.
This does bind the implementation to never allocate in `new` in the
future, but that seems like a desirable property anyway.
Note that this also requires updating slab to 0.4.7, which is the first
version that supports const `Slab::new()`.
Fixes the following issues in `AsyncBufRead::read_line`:
* When the future is dropped the previous string contents are not restored so the string is empty.
* If invalid UTF-8 is encountered the previous string contents are not restored.
* If an IO error occurs after `read_until_internal` already read a couple of bytes a debug assertion fails.
* Performance: The whole string to which read contents are appended is check for UTF-8 validity instead of just the added bytes.
Fixes the following issues in `AsyncBufRead::read_line`:
* If an IO error occurs after `read_until_internal` already read a couple of bytes a debug assertion fails. (#2862)
Fixes#2862
* Fix unexpected `cfg` condition name: ... warnings introduced in Rust 1.80
See https://blog.rust-lang.org/2024/05/06/check-cfg.html
* io_slice_advance feature is now stable
* clippy: enable missing_const_for_thread_local lint, now checks for MSRV (see https://github.com/rust-lang/rust-clippy/issues/12404)
* clippy: fixes for "doc list item without indentation" lint
* clippy: ignore incorrect "first doc comment paragraph is too long" warning
see https://github.com/rust-lang/rust-clippy/issues/13315
* clippy: allow long first paragraphs in select... fn doc comments
* use workspace level setting to ignore error about the futures_sanitizer unexpected config