8000 Fix some clippy warnings by brightly-salty · Pull Request #948 · async-rs/async-std · GitHub
[go: up one dir, main page]

Skip to content

Fix some clippy warnings #948

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
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
Prev Previous commit
Update src/path/iter.rs
Co-authored-by: Jeremiah Senkpiel <fishrock123@rocketmail.com>
  • Loading branch information
brightly-salty and Fishrock123 authored Jun 1, 2021
commit 5e30d8610893afb03c54c69250f1e0d1a021ffea
3 changes: 2 additions & 1 deletion src/path/iter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ impl<'a> Iter<'a> {
///
/// assert_eq!(Path::new("foo/bar.txt"), iter.as_path());
/// ```
#[must_use] pub fn as_path(&self) -> &'a Path {
#[must_use]
pub fn as_path(&self) -> &'a Path {
self.inner.as_path()
}
}
Expand Down
0