diff options
| author | Thomas Otto <th1000s@posteo.net> | 2024-07-30 23:48:55 +0200 |
|---|---|---|
| committer | Dan Davison <dandavison7@gmail.com> | 2024-08-01 21:40:55 -0400 |
| commit | f441d4d0839abcc8822e8f2963746c4e641886a4 (patch) | |
| tree | f72df88763723e62faa6f634b2f01bf62e6ca370 /src | |
| parent | e0274867cd5a8f094523d48386cdc0cb6bf89c91 (diff) | |
Fix build for rust 1.80
Upgrade "time" (and its dependency chain rooted at "plist"), the previous
version did not build with 1.80.
Tell the new 'unexpected_cfgs' lint that 'tarpaulin_include' is okay
Mark one clippy lint as a false positive
Diffstat (limited to 'src')
| -rw-r--r-- | src/utils/path.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/utils/path.rs b/src/utils/path.rs index 51557e2..cb79ce2 100644 --- a/src/utils/path.rs +++ b/src/utils/path.rs @@ -25,6 +25,7 @@ pub fn absolute_path(relative_path: &str, config: &Config) -> Option<PathBuf> { .map(normalize_path) } +#[allow(clippy::needless_borrows_for_generic_args)] // Lint has known problems, &path != path /// Relativize `path` if delta `config` demands that and paths are not already relativized by git. pub fn relativize_path_maybe(path: &mut String, config: &Config) { let mut inner_relativize = || -> Option<()> { |
