Skip to content

Commit 58acb56

Browse files
authored
ci: update nightly to 2023-10-21 (#6103)
1 parent d22c549 commit 58acb56

File tree

25 files changed

+34
-75
lines changed

25 files changed

+34
-75
lines changed

.cirrus.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ freebsd_instance:
44
image_family: freebsd-13-1
55
env:
66
RUST_STABLE: stable
7-
RUST_NIGHTLY: nightly-2022-10-25
7+
RUST_NIGHTLY: nightly-2023-10-21
88
RUSTFLAGS: -D warnings
99

1010
# Test FreeBSD in a full VM on cirrus-ci.com. Test the i686 target too, in the

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ env:
1515
RUST_BACKTRACE: 1
1616
# Change to specific Rust release to pin
1717
rust_stable: stable
18-
rust_nightly: nightly-2023-05-18
18+
rust_nightly: nightly-2023-10-21
1919
rust_clippy: 1.65.0
2020
# When updating this, also update:
2121
# - README.md

tokio-macros/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ proc-macro = true
2222
[features]
2323

2424
[dependencies]
25-
proc-macro2 = "1.0.7"
25+
proc-macro2 = "1.0.60"
2626
quote = "1"
2727
syn = { version = "2.0", features = ["full"] }
2828

tokio-stream/src/stream_ext.rs

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -848,8 +848,7 @@ pub trait StreamExt: Stream {
848848
///
849849
/// `collect` streams all values, awaiting as needed. Values are pushed into
850850
/// a collection. A number of different target collection types are
851-
/// supported, including [`Vec`](std::vec::Vec),
852-
/// [`String`](std::string::String), and [`Bytes`].
851+
/// supported, including [`Vec`], [`String`], and [`Bytes`].
853852
///
854853
/// [`Bytes`]: https://docs.rs/bytes/0.6.0/bytes/struct.Bytes.html
855854
///
@@ -1005,9 +1004,8 @@ pub trait StreamExt: Stream {
10051004

10061005
/// Applies a per-item timeout to the passed stream.
10071006
///
1008-
/// `timeout_repeating()` takes an [`Interval`](tokio::time::Interval) that
1009-
/// controls the time each element of the stream has to complete before
1010-
/// timing out.
1007+
/// `timeout_repeating()` takes an [`Interval`] that controls the time each
1008+
/// element of the stream has to complete before timing out.
10111009
///
10121010
/// If the wrapped stream yields a value before the deadline is reached, the
10131011
/// value is returned. Otherwise, an error is returned. The caller may decide

tokio-stream/src/stream_ext/collect.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ pin_project! {
2626
}
2727
}
2828

29-
/// Convert from a [`Stream`](crate::Stream).
29+
/// Convert from a [`Stream`].
3030
///
3131
/// This trait is not intended to be used directly. Instead, call
3232
/// [`StreamExt::collect()`](super::StreamExt::collect).

tokio-util/src/io/stream_reader.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ where
166166
B: Buf,
167167
E: Into<std::io::Error>,
168168
{
169-
/// Convert a stream of byte chunks into an [`AsyncRead`](tokio::io::AsyncRead).
169+
/// Convert a stream of byte chunks into an [`AsyncRead`].
170170
///
171171
/// The item should be a [`Result`] with the ok variant being something that
172172
/// implements the [`Buf`] trait (e.g. `Vec<u8>` or `Bytes`). The error

tokio/src/fs/canonicalize.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,7 @@ use std::path::{Path, PathBuf};
66
/// Returns the canonical, absolute form of a path with all intermediate
77
/// components normalized and symbolic links resolved.
88
///
9-
/// This is an async version of [`std::fs::canonicalize`][std]
10-
///
11-
/// [std]: std::fs::canonicalize
9+
/// This is an async version of [`std::fs::canonicalize`].
1210
///
1311
/// # Platform-specific behavior
1412
///

tokio/src/fs/copy.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,7 @@ use std::path::Path;
55
/// of the original file to the destination file.
66
/// This function will overwrite the contents of to.
77
///
8-
/// This is the async equivalent of [`std::fs::copy`][std].
9-
///
10-
/// [std]: fn@std::fs::copy
8+
/// This is the async equivalent of [`std::fs::copy`].
119
///
1210
/// # Examples
1311
///

tokio/src/fs/create_dir.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,7 @@ use std::path::Path;
55

66
/// Creates a new, empty directory at the provided path.
77
///
8-
/// This is an async version of [`std::fs::create_dir`][std]
9-
///
10-
/// [std]: std::fs::create_dir
8+
/// This is an async version of [`std::fs::create_dir`].
119
///
1210
/// # Platform-specific behavior
1311
///

tokio/src/fs/create_dir_all.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,7 @@ use std::path::Path;
66
/// Recursively creates a directory and all of its parent components if they
77
/// are missing.
88
///
9-
/// This is an async version of [`std::fs::create_dir_all`][std]
10-
///
11-
/// [std]: std::fs::create_dir_all
9+
/// This is an async version of [`std::fs::create_dir_all`].
1210
///
1311
/// # Platform-specific behavior
1412
///

0 commit comments

Comments
 (0)