Skip to content

Commit 20336bd

Browse files
Fix broken link in CopyBufAbortable docs (#2815)
Also re-enable docs in CI.
1 parent 970e088 commit 20336bd

File tree

2 files changed

+9
-10
lines changed

2 files changed

+9
-10
lines changed

.github/workflows/ci.yml

+8-9
Original file line numberDiff line numberDiff line change
@@ -281,12 +281,11 @@ jobs:
281281
run: rustup update stable
282282
- run: cargo fmt --all -- --check
283283

284-
# TODO: upstream bug https://github.com/rust-lang/rust/issues/118670
285-
# docs:
286-
# name: cargo doc
287-
# runs-on: ubuntu-latest
288-
# steps:
289-
# - uses: actions/checkout@v4
290-
# - name: Install Rust
291-
# run: rustup update nightly && rustup default nightly
292-
# - run: RUSTDOCFLAGS="-D warnings --cfg docsrs" cargo doc --workspace --no-deps --all-features
284+
docs:
285+
name: cargo doc
286+
runs-on: ubuntu-latest
287+
steps:
288+
- uses: actions/checkout@v4
289+
- name: Install Rust
290+
run: rustup update nightly && rustup default nightly
291+
- run: RUSTDOCFLAGS="-D warnings --cfg docsrs" cargo doc --workspace --no-deps --all-features

futures-util/src/io/copy_buf_abortable.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ where
5757
}
5858

5959
pin_project! {
60-
/// Future for the [`copy_buf()`] function.
60+
/// Future for the [`copy_buf_abortable()`] function.
6161
#[derive(Debug)]
6262
#[must_use = "futures do nothing unless you `.await` or poll them"]
6363
pub struct CopyBufAbortable<'a, R, W: ?Sized> {

0 commit comments

Comments
 (0)