File tree Expand file tree Collapse file tree 4 files changed +10
-8
lines changed Expand file tree Collapse file tree 4 files changed +10
-8
lines changed Original file line number Diff line number Diff line change @@ -33,7 +33,8 @@ It wraps libraries like git2 and gix.
3333 clippy:: module_name_repetitions,
3434 clippy:: must_use_candidate,
3535 clippy:: missing_errors_doc,
36- clippy:: empty_docs
36+ clippy:: empty_docs,
37+ clippy:: unnecessary_debug_formatting
3738) ]
3839//TODO:
3940#![ allow(
Original file line number Diff line number Diff line change @@ -115,26 +115,26 @@ pub fn submodule_parent_info(
115115 let repo = repo ( repo_path) ?;
116116 let repo_wd = work_dir ( & repo) ?. to_path_buf ( ) ;
117117
118- log:: trace!( "[sub] repo_wd: {:?}" , repo_wd ) ;
118+ log:: trace!( "[sub] repo_wd: {repo_wd :?}" ) ;
119119 log:: trace!( "[sub] repo_path: {:?}" , repo. path( ) ) ;
120120
121121 if let Some ( parent_path) = repo_wd. parent ( ) {
122- log:: trace!( "[sub] parent_path: {:?}" , parent_path ) ;
122+ log:: trace!( "[sub] parent_path: {parent_path :?}" ) ;
123123
124124 if let Ok ( parent) = Repository :: open_ext (
125125 parent_path,
126126 RepositoryOpenFlags :: FROM_ENV ,
127127 Vec :: < & Path > :: new ( ) ,
128128 ) {
129129 let parent_wd = work_dir ( & parent) ?. to_path_buf ( ) ;
130- log:: trace!( "[sub] parent_wd: {:?}" , parent_wd ) ;
130+ log:: trace!( "[sub] parent_wd: {parent_wd :?}" ) ;
131131
132132 let submodule_name = repo_wd
133133 . strip_prefix ( parent_wd) ?
134134 . to_string_lossy ( )
135135 . to_string ( ) ;
136136
137- log:: trace!( "[sub] submodule_name: {:?}" , submodule_name ) ;
137+ log:: trace!( "[sub] submodule_name: {submodule_name :?}" ) ;
138138
139139 if let Ok ( submodule) =
140140 parent. find_submodule ( & submodule_name)
Original file line number Diff line number Diff line change 5252 clippy:: multiple_crate_versions,
5353 clippy:: bool_to_int_with_if,
5454 clippy:: module_name_repetitions,
55- clippy:: empty_docs
55+ clippy:: empty_docs,
56+ clippy:: unnecessary_debug_formatting
5657) ]
5758
5859//TODO:
You can’t perform that action at this time.
0 commit comments