Skip to content

Commit de078d6

Browse files
committed
Fix links in documentation.
1 parent 1afdaab commit de078d6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cap-tempfile/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ impl fmt::Debug for TempDir {
149149
///
150150
/// This corresponds to [`tempfile::tempdir`].
151151
///
152-
/// [`tempfile::tempdir`]: https://docs.rs/tempfile/3.1.0/tempfile/fn.tempdir.html
152+
/// [`tempfile::tempdir`]: https://docs.rs/tempfile/latest/tempfile/fn.tempdir.html
153153
///
154154
/// # Safety
155155
///
@@ -164,7 +164,7 @@ pub unsafe fn tempdir() -> io::Result<TempDir> {
164164
///
165165
/// This corresponds to [`tempfile::tempdir_in`].
166166
///
167-
/// [`tempfile::tempdir`]: https://docs.rs/tempfile/3.1.0/tempfile/fn.tempdir_in.html
167+
/// [`tempfile::tempdir_in`]: https://docs.rs/tempfile/latest/tempfile/fn.tempdir_in.html
168168
pub fn tempdir_in(dir: &Dir) -> io::Result<TempDir> {
169169
TempDir::new_in(dir)
170170
}

0 commit comments

Comments
 (0)