Skip to content

Commit

Permalink
fix: Warning about unused Storage::reader
Browse files Browse the repository at this point in the history
  • Loading branch information
polyfloyd committed Jun 29, 2024
1 parent 7d57c6d commit b7d407b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/storage/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ pub trait Storage<'a> {
type Writer: io::Write + io::Seek + 'a;

/// Opens the storage for reading.
#[allow(unused)] // Idk, it would be cool to use this for some formats.
fn reader(&'a mut self) -> io::Result<Self::Reader>;

/// Opens the storage for writing.
Expand Down

0 comments on commit b7d407b

Please sign in to comment.