fix(docs): cross-link to correct PathResolver method in path module docs. (#5714)

This commit is contained in:
Fabian-Lars 2022-11-29 04:26:13 +01:00 committed by GitHub
parent 2d545eff58
commit 04681a6b13
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -535,7 +535,7 @@ pub fn app_data_dir(config: &Config) -> Option<PathBuf> {
///
/// Resolves to [`local_data_dir`]`/${bundle_identifier}`.
///
/// See [`PathResolver::app_data_dir`](crate::PathResolver#method.app_data_dir) for a more convenient helper function.
/// See [`PathResolver::app_local_data_dir`](crate::PathResolver#method.app_local_data_dir) for a more convenient helper function.
pub fn app_local_data_dir(config: &Config) -> Option<PathBuf> {
dirs_next::data_local_dir().map(|dir| dir.join(&config.tauri.bundle.identifier))
}