mirror of
https://github.com/astral-sh/uv.git
synced 2025-07-07 21:35:00 +00:00
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:
parent
663c190c2d
commit
abdb58d2df
1 changed files with 1 additions and 1 deletions
|
@ -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));
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue