Skip to content

Commit

Permalink
Merge pull request #1871 from tursodatabase/lucio/fmt-changes
Browse files Browse the repository at this point in the history
chore: update format for sync.rs
  • Loading branch information
LucioFranco authored Dec 6, 2024
2 parents b8f30ff + ea62a48 commit 0c5b83f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
6 changes: 3 additions & 3 deletions libsql/src/local/connection.rs
Original file line number Diff line number Diff line change
Expand Up @@ -506,13 +506,13 @@ impl Connection {
}

pub(crate) fn wal_insert_frame(&self, frame: &[u8]) -> Result<()> {
let rc = unsafe {
let rc = unsafe {
libsql_sys::ffi::libsql_wal_insert_frame(
self.handle(),
frame.len() as u32,
frame.as_ptr() as *mut std::ffi::c_void,
0
)
0,
)
};
if rc != 0 {
return Err(crate::errors::Error::SqliteFailure(
Expand Down
3 changes: 1 addition & 2 deletions libsql/src/sync.rs
Original file line number Diff line number Diff line change
Expand Up @@ -244,8 +244,7 @@ impl SyncContext {
None => {}
}

let req = req.body(Body::empty())
.expect("valid request");
let req = req.body(Body::empty()).expect("valid request");

let res = self
.client
Expand Down

0 comments on commit 0c5b83f

Please sign in to comment.