get_doc_base_urls

Function get_doc_base_urls 

Source
fn get_doc_base_urls(
    db: &RootDatabase,
    def: Definition,
    target_dir: Option<&str>,
    sysroot: Option<&str>,
) -> (Option<Url>, Option<Url>)
Expand description

Get the root URL for the documentation of a definition.

https://doc.rust-lang.org/std/iter/trait.Iterator.html#tymethod.next
^^^^^^^^^^^^^^^^^^^^^^^^^^
file:///project/root/target/doc/std/iter/trait.Iterator.html#tymethod.next
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^