diff options
| author | Stuart Cook <Zalathar@users.noreply.github.com> | 2025-09-04 10:02:01 +1000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-09-04 10:02:01 +1000 |
| commit | 3b365d8552208b12ae83f2ffe7b860f70eb61d71 (patch) | |
| tree | 511b73c6efe7011a4a333c2e5437669184d0962a /src | |
| parent | 9867486fe8e1a1dc261aaef8922a7eda764ef91d (diff) | |
| parent | fcc413f049555053b4494d8f5faca7bc5647e232 (diff) | |
| download | rust-3b365d8552208b12ae83f2ffe7b860f70eb61d71.tar.gz rust-3b365d8552208b12ae83f2ffe7b860f70eb61d71.zip | |
Rollup merge of #146131 - notriddle:rustdoc-search-load-itemtype-test, r=GuillaumeGomez
rustdoc-search: add test case for indexing every item type Test case for https://github.com/rust-lang/rust/pull/146117
Diffstat (limited to 'src')
| -rwxr-xr-x | src/etc/htmldocck.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/etc/htmldocck.py b/src/etc/htmldocck.py index 8d7f7341c2e..46a3a1602ac 100755 --- a/src/etc/htmldocck.py +++ b/src/etc/htmldocck.py @@ -247,7 +247,7 @@ class CachedFiles(object): paths = list(Path(self.root).glob(path)) if len(paths) != 1: raise FailedCheck("glob path does not resolve to one file") - path = str(paths[0]) + return str(paths[0]) return os.path.join(self.root, path) def get_file(self, path): |
