Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -201,16 +201,16 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
build: [stable, windows-latest, windows-2019, macos-latest, macos-13, beta, ubuntu-22.04, aarch64-ubuntu]
build: [stable, windows-latest, windows-2022, macos-latest, macos-13, beta, ubuntu-22.04, aarch64-ubuntu]
include:
- build: stable
os: ubuntu-latest
rust: stable
- build: windows-latest
os: windows-latest
rust: stable
- build: windows-2019
os: windows-2019
- build: windows-2022
os: windows-2022
rust: stable
- build: macos-latest
os: macos-latest
Expand Down
2 changes: 1 addition & 1 deletion cap-async-std/src/net/tcp_listener.rs
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ impl TcpListener {
///
/// This corresponds to [`async_std::net::TcpListener::incoming`].
#[inline]
pub fn incoming(&self) -> Incoming {
pub fn incoming(&self) -> Incoming<'_> {
let incoming = self.std.incoming();
Incoming::from_std(incoming)
}
Expand Down
2 changes: 1 addition & 1 deletion cap-async-std/src/os/unix/net/unix_listener.rs
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ impl UnixListener {
///
/// [`async_std::os::unix::net::UnixListener::incoming`]: https://docs.rs/async-std/latest/async_std/os/unix/net/struct.UnixListener.html#method.incoming
#[inline]
pub fn incoming(&self) -> Incoming {
pub fn incoming(&self) -> Incoming<'_> {
let incoming = self.std.incoming();
Incoming::from_std(incoming)
}
Expand Down
2 changes: 1 addition & 1 deletion cap-primitives/src/fs/via_parent/open_parent.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ pub(super) fn open_parent<'path, 'borrow>(
/// - Append a `.` to a path with a trailing `..` to avoid requiring our
/// callers to special-case `..`.
/// - Bare absolute paths are ok.
fn split_parent(path: &Path) -> Option<(&Path, Component)> {
fn split_parent(path: &Path) -> Option<(&Path, Component<'_>)> {
if path.as_os_str().is_empty() {
return None;
}
Expand Down
2 changes: 1 addition & 1 deletion cap-std/src/net/tcp_listener.rs
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ impl TcpListener {
///
/// This corresponds to [`std::net::TcpListener::incoming`].
#[inline]
pub fn incoming(&self) -> Incoming {
pub fn incoming(&self) -> Incoming<'_> {
let incoming = self.std.incoming();
Incoming::from_std(incoming)
}
Expand Down
2 changes: 1 addition & 1 deletion cap-std/src/os/unix/net/unix_listener.rs
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ impl UnixListener {
///
/// [`std::os::unix::net::UnixListener::incoming`]: https://doc.rust-lang.org/std/os/unix/net/struct.UnixListener.html#method.incoming
#[inline]
pub fn incoming(&self) -> Incoming {
pub fn incoming(&self) -> Incoming<'_> {
let incoming = self.std.incoming();
Incoming::from_std(incoming)
}
Expand Down
Loading