Skip to content

Commit

Permalink
rename generics
Browse files Browse the repository at this point in the history
  • Loading branch information
MarinPostma committed Oct 9, 2024
1 parent 2ea7883 commit 1fd9118
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions libsql-wal/src/wal.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ impl<IO: Io, S> Clone for LibsqlWalManager<IO, S> {
}
}

impl<FS: Io, S> LibsqlWalManager<FS, S> {
impl<IO: Io, S> LibsqlWalManager<IO, S> {
pub fn new(
registry: Arc<WalRegistry<FS, S>>,
registry: Arc<WalRegistry<IO, S>>,
namespace_resolver: Arc<dyn NamespaceResolver>,
) -> Self {
Self {
Expand All @@ -42,10 +42,10 @@ impl<FS: Io, S> LibsqlWalManager<FS, S> {
}
}

pub struct LibsqlWal<FS: Io> {
pub struct LibsqlWal<IO: Io> {
last_read_frame_no: Option<u64>,
tx: Option<Transaction<FS::File>>,
shared: Arc<SharedWal<FS>>,
tx: Option<Transaction<IO::File>>,
shared: Arc<SharedWal<IO>>,
conn_id: u64,
}

Expand Down

0 comments on commit 1fd9118

Please sign in to comment.