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]: https://github.com/rust-lang/rust/issues/50784
This commit is contained in:
Andrew Gallant 2024-07-12 10:45:59 -04:00 committed by Andrew Gallant
parent 663c190c2d
commit abdb58d2df

View file

@ -60,7 +60,7 @@ impl Shell {
/// ///
/// # Examples /// # Examples
/// ///
/// ``` /// ```ignore
/// use crate::shells::Shell; /// use crate::shells::Shell;
/// ///
/// assert_eq!(Shell::from_shell_path("/bin/bash"), Some(Shell::Bash)); /// assert_eq!(Shell::from_shell_path("/bin/bash"), Some(Shell::Bash));