doc deadlinks

This commit is contained in:
Aravinth Manivannan 2021-04-10 18:00:32 +05:30
parent 23bf39b328
commit 67a21b9826
Signed by: realaravinth
GPG key ID: AD9F0F08E855ED88
2 changed files with 5 additions and 5 deletions

View file

@ -44,8 +44,8 @@ impl Files {
/// Get relative file path
///
/// If the modified filename path is './prod/test.randomhash.svg`, it will
/// output `/test.randomhash.svg`. For full path, see [get_full_path]
/// If the modified filename path is `./prod/test.randomhash.svg`, it will
/// output `/test.randomhash.svg`. For full path, see [get_full_path][Self::get_full_path].
pub fn get<'a>(&'a self, path: &'a str) -> Option<&'a str> {
if let Some(path) = self.map.get(path) {
Some(&path[self.base_dir.len()..])
@ -56,8 +56,8 @@ impl Files {
/// Get file path
///
/// If the modified filename path is './prod/test.randomhash.svg`, it will
/// output `/prod/test.randomhash.svg`. For relative path, see [get]
/// If the modified filename path is `./prod/test.randomhash.svg`, it will
/// output `/prod/test.randomhash.svg`. For relative path, see [get][Self::get].
pub fn get_full_path<'a>(&'a self, path: &'a str) -> Option<&'a String> {
self.map.get(path)
}

View file

@ -90,7 +90,7 @@ impl Buster {
/// If MIME types are uncommon, then use this funtion
/// as it won't panic when a weird MIM is encountered.
///
/// Otherwise, use [process]
/// Otherwise, use [process][Self::process]
///
/// Note: it omits processing uncommon MIME types
pub fn try_process(&self) -> Result<Files, Error> {