Skip to content

Commit

Permalink
uv: fix doc test
Browse files Browse the repository at this point in the history
[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
  • Loading branch information
BurntSushi committed Jul 12, 2024
1 parent 8d6c49b commit 31023bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/uv/src/shell.rs
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ impl Shell {
///
/// # Examples
///
/// ```
/// ```ignore
/// use crate::shells::Shell;
///
/// assert_eq!(Shell::from_shell_path("/bin/bash"), Some(Shell::Bash));
Expand Down

0 comments on commit 31023bc

Please sign in to comment.