diff options
author | Leo Kettmeir <crowlkats@toaxl.com> | 2024-01-31 18:34:15 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-31 17:34:15 +0000 |
commit | b91ae888601f3c6602ceb9ec083ac252d06e64ce (patch) | |
tree | 455ef84f7cf31769afe968882c33f12a0411b0ea /cli/tools/doc.rs | |
parent | a82eb3fb3d073c9dd99748883d2cd98ff4a38903 (diff) |
chore: update deno_doc (#22174)
Diffstat (limited to 'cli/tools/doc.rs')
-rw-r--r-- | cli/tools/doc.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/cli/tools/doc.rs b/cli/tools/doc.rs index f14d6f5f5..acea65062 100644 --- a/cli/tools/doc.rs +++ b/cli/tools/doc.rs @@ -224,12 +224,12 @@ impl deno_doc::html::HrefResolver for DocResolver { &self, _current_specifier: &ModuleSpecifier, current_file: &str, - ) -> String { - current_file.to_string() + ) -> Option<String> { + Some(current_file.to_string()) } - fn resolve_source(&self, location: &deno_doc::Location) -> String { - location.filename.clone() + fn resolve_source(&self, location: &deno_doc::Location) -> Option<String> { + Some(location.filename.clone()) } } |