diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2024-09-24 13:26:49 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2024-09-24 13:26:49 -0400 |
| commit | 800e386105255c9c4faa9a7051b100a8768a70de (patch) | |
| tree | d1e8b6b221485330b92d225f32c29337d81b6675 /docs/paths.md | |
| parent | 0609a26f3108148375d4ee2fb3d2d8f9c5756ae7 (diff) | |
Rename `from_unsafe_text` to `without_escaping`
Diffstat (limited to 'docs/paths.md')
| -rw-r--r-- | docs/paths.md | 2 |
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 |
