From abdb58d2df64ca498abf3c5eaf875a53e1ea18c8 Mon Sep 17 00:00:00 2001 From: Andrew Gallant Date: Fri, 12 Jul 2024 10:45:59 -0400 Subject: [PATCH] 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 --- crates/uv/src/shell.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/uv/src/shell.rs b/crates/uv/src/shell.rs index 407f3770e..7f6787ecd 100644 --- a/crates/uv/src/shell.rs +++ b/crates/uv/src/shell.rs @@ -60,7 +60,7 @@ impl Shell { /// /// # Examples /// - /// ``` + /// ```ignore /// use crate::shells::Shell; /// /// assert_eq!(Shell::from_shell_path("/bin/bash"), Some(Shell::Bash));