ok/jj
1
0
Fork 0
forked from mirrors/jj

matchers: don't allow dead_code

This commit is contained in:
Yuya Nishihara 2024-04-14 18:26:25 +09:00
parent af185725a1
commit 9a83338079

View file

@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
#![allow(dead_code, missing_docs)]
#![allow(missing_docs)]
use std::collections::{HashMap, HashSet};
use std::fmt::Debug;
@ -369,6 +369,7 @@ impl RepoPathTree {
})
}
#[cfg(test)]
fn add_dir(&mut self, dir: &RepoPath) {
self.add(dir).is_dir = true;
}