Skip to content

Commit 31023bc

Browse files
committed
uv: fix doc test
[Doc tests can't use crate internal APIs unfortunately.][internal-doc] I really want them to be able to, but for now, mark such tests as `ignore`. I was motivated to do this because it otherwise breaks `cargo t --all` for me. [internal-doc]: rust-lang/rust#50784
1 parent 8d6c49b commit 31023bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/uv/src/shell.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ impl Shell {
6060
///
6161
/// # Examples
6262
///
63-
/// ```
63+
/// ```ignore
6464
/// use crate::shells::Shell;
6565
///
6666
/// assert_eq!(Shell::from_shell_path("/bin/bash"), Some(Shell::Bash));

0 commit comments

Comments
 (0)