aboutsummaryrefslogtreecommitdiff
path: root/docs/paths.md
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2024-09-24 13:26:49 -0400
committerBruce Hill <bruce@bruce-hill.com>2024-09-24 13:26:49 -0400
commit800e386105255c9c4faa9a7051b100a8768a70de (patch)
treed1e8b6b221485330b92d225f32c29337d81b6675 /docs/paths.md
parent0609a26f3108148375d4ee2fb3d2d8f9c5756ae7 (diff)
Rename `from_unsafe_text` to `without_escaping`
Diffstat (limited to 'docs/paths.md')
-rw-r--r--docs/paths.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/paths.md b/docs/paths.md
index f53cc971..b1f03fff 100644
--- a/docs/paths.md
+++ b/docs/paths.md
@@ -33,7 +33,7 @@ not be trustworthy and interpret that value as a single path component name,
i.e. the name of a directory or file. If a user were to supply a value like
`..` or `foo/baz`, it would risk navigating into a directory other than
intended. Paths can be created from text with slashes using
-`Path.from_unsafe_text(text)` if you need to use arbitrary text as a file path.
+`Path.without_escaping(text)` if you need to use arbitrary text as a file path.
## Path Methods