ci: update nightly to nightly-2024-09-15 (#734)

This commit is contained in:
Taiki Endo
2024-09-17 11:02:45 -04:00
committed by GitHub
parent 79fb85323c
commit ac46ebdd46
3 changed files with 7 additions and 3 deletions
+2
View File
@@ -142,6 +142,7 @@ impl Bytes {
Bytes::from_static(EMPTY)
}
/// Creates a new empty `Bytes`.
#[cfg(all(loom, test))]
pub fn new() -> Self {
const EMPTY: &[u8] = &[];
@@ -172,6 +173,7 @@ impl Bytes {
}
}
/// Creates a new `Bytes` from a static slice.
#[cfg(all(loom, test))]
pub fn from_static(bytes: &'static [u8]) -> Self {
Bytes {