Skip to content

Commit

Permalink
fix test due to type inference error
Browse files Browse the repository at this point in the history
  • Loading branch information
rhysd committed Jul 3, 2022
1 parent 49561d1 commit 424c83c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Expand Up @@ -37,7 +37,7 @@
//!
//! // Convert to Cow<'_, Path>
//! let p = Cow::from_slash("foo/bar/piyo.txt");
//! assert_eq!(p, Cow::Owned(PathBuf::from(r"foo\bar\piyo.txt")));
//! assert_eq!(p, Cow::<Path>::Owned(PathBuf::from(r"foo\bar\piyo.txt")));
//! }
//!
//! #[cfg(not(target_os = "windows"))]
Expand Down

0 comments on commit 424c83c

Please sign in to comment.