From b91ae888601f3c6602ceb9ec083ac252d06e64ce Mon Sep 17 00:00:00 2001 From: Leo Kettmeir Date: Wed, 31 Jan 2024 18:34:15 +0100 Subject: chore: update deno_doc (#22174) --- cli/tools/doc.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'cli/tools/doc.rs') 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 { + 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 { + Some(location.filename.clone()) } } -- cgit v1.2.3