Skip to content

Commit 527a690

Browse files
authored
[ty] Fix example in environment docs (#19937)
1 parent f0e9c1d commit 527a690

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

crates/ty/docs/configuration.md

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

crates/ty_project/src/metadata/options.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -498,7 +498,7 @@ pub struct EnvironmentOptions {
498498
default = r#"[]"#,
499499
value_type = "list[str]",
500500
example = r#"
501-
extra-paths = ["~/shared/my-search-path"]
501+
extra-paths = ["./shared/my-search-path"]
502502
"#
503503
)]
504504
pub extra_paths: Option<Vec<RelativePathBuf>>,

0 commit comments

Comments
 (0)