ci: update nightly version (#5706)

This commit is contained in:
Carl Lerche
2023-05-20 11:00:50 +02:00
committed by GitHub
parent f64a1a3dbd
commit ddd7250e62
4 changed files with 4 additions and 8 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ env:
RUST_BACKTRACE: 1 RUST_BACKTRACE: 1
# Change to specific Rust release to pin # Change to specific Rust release to pin
rust_stable: stable rust_stable: stable
rust_nightly: nightly-2022-11-03 rust_nightly: nightly-2023-05-18
rust_clippy: 1.65.0 rust_clippy: 1.65.0
# When updating this, also update: # When updating this, also update:
# - README.md # - README.md
+1 -5
View File
@@ -1,11 +1,7 @@
macro_rules! if_loom { macro_rules! if_loom {
($($t:tt)*) => {{ ($($t:tt)*) => {{
#[cfg(loom)] #[cfg(loom)]
const LOOM: bool = true; {
#[cfg(not(loom))]
const LOOM: bool = false;
if LOOM {
$($t)* $($t)*
} }
}} }}
+1 -1
View File
@@ -80,7 +80,7 @@ impl<'a> Builder<'a> {
/// ///
/// This method panics if called outside of a Tokio runtime. /// 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. /// more details.
#[track_caller] #[track_caller]
pub fn spawn<Fut>(self, future: Fut) -> io::Result<JoinHandle<Fut::Output>> pub fn spawn<Fut>(self, future: Fut) -> io::Result<JoinHandle<Fut::Output>>
+1 -1
View File
@@ -387,7 +387,7 @@ impl Default for MissedTickBehavior {
/// An `Interval` can be turned into a `Stream` with [`IntervalStream`]. /// An `Interval` can be turned into a `Stream` with [`IntervalStream`].
/// ///
/// [`IntervalStream`]: https://docs.rs/tokio-stream/latest/tokio_stream/wrappers/struct.IntervalStream.html /// [`IntervalStream`]: https://docs.rs/tokio-stream/latest/tokio_stream/wrappers/struct.IntervalStream.html
/// [`sleep`]: crate::time::sleep /// [`sleep`]: crate::time::sleep()
#[derive(Debug)] #[derive(Debug)]
pub struct Interval { pub struct Interval {
/// Future that completes the next time the `Interval` yields a value. /// Future that completes the next time the `Interval` yields a value.