doc deadlinks
This commit is contained in:
parent
23bf39b328
commit
67a21b9826
2 changed files with 5 additions and 5 deletions
|
@ -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)
|
||||
}
|
||||
|
|
|
@ -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> {
|
||||
|
|
Loading…
Reference in a new issue