Skip to content

Commit ec31661

Browse files
authored
Merge pull request #14 from 00xc/toolchain
repo: set Rust toolchain to 1.86
2 parents 89200d9 + 0b1fc90 commit ec31661

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

rust-toolchain.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[toolchain]
2+
channel = "1.86.0"
3+
components = [ "rustfmt", "clippy" ]

src/archive.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,12 +49,12 @@ impl<'a> PackItArchive<'a> {
4949
}
5050

5151
/// Get the number of files in the archive
52-
pub const fn len(&self) -> usize {
52+
pub fn len(&self) -> usize {
5353
self.files.len()
5454
}
5555

5656
/// Whether the archive contains any files or not
57-
pub const fn is_empty(&self) -> bool {
57+
pub fn is_empty(&self) -> bool {
5858
self.files.is_empty()
5959
}
6060

0 commit comments

Comments
 (0)