mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-08-07 00:00:09 +02:00
ci: update nightly version (#5706)
This commit is contained in:
@@ -11,7 +11,7 @@ env:
|
||||
RUST_BACKTRACE: 1
|
||||
# Change to specific Rust release to pin
|
||||
rust_stable: stable
|
||||
rust_nightly: nightly-2022-11-03
|
||||
rust_nightly: nightly-2023-05-18
|
||||
rust_clippy: 1.65.0
|
||||
# When updating this, also update:
|
||||
# - README.md
|
||||
|
||||
@@ -1,11 +1,7 @@
|
||||
macro_rules! if_loom {
|
||||
($($t:tt)*) => {{
|
||||
#[cfg(loom)]
|
||||
const LOOM: bool = true;
|
||||
#[cfg(not(loom))]
|
||||
const LOOM: bool = false;
|
||||
|
||||
if LOOM {
|
||||
{
|
||||
$($t)*
|
||||
}
|
||||
}}
|
||||
|
||||
@@ -80,7 +80,7 @@ impl<'a> Builder<'a> {
|
||||
///
|
||||
/// This method panics if called outside of a Tokio runtime.
|
||||
///
|
||||
/// See [`task::spawn`](crate::task::spawn) for
|
||||
/// See [`task::spawn`](crate::task::spawn()) for
|
||||
/// more details.
|
||||
#[track_caller]
|
||||
pub fn spawn<Fut>(self, future: Fut) -> io::Result<JoinHandle<Fut::Output>>
|
||||
|
||||
@@ -387,7 +387,7 @@ impl Default for MissedTickBehavior {
|
||||
/// An `Interval` can be turned into a `Stream` with [`IntervalStream`].
|
||||
///
|
||||
/// [`IntervalStream`]: https://docs.rs/tokio-stream/latest/tokio_stream/wrappers/struct.IntervalStream.html
|
||||
/// [`sleep`]: crate::time::sleep
|
||||
/// [`sleep`]: crate::time::sleep()
|
||||
#[derive(Debug)]
|
||||
pub struct Interval {
|
||||
/// Future that completes the next time the `Interval` yields a value.
|
||||
|
||||
Reference in New Issue
Block a user