1
0
mirror of https://github.com/bspeice/aeron-rs synced 2024-12-22 05:48:10 -05:00

Fix two last unused Result types

This commit is contained in:
Bradlee Speice 2019-10-07 07:49:20 -04:00
parent 2b8e32abb7
commit 5156f48dd4

View File

@ -173,7 +173,7 @@ mod tests {
fn multiple_startup_failure() { fn multiple_startup_failure() {
let temp_dir = tempdir().unwrap(); let temp_dir = tempdir().unwrap();
let dir = temp_dir.path().to_path_buf(); let dir = temp_dir.path().to_path_buf();
temp_dir.close(); temp_dir.close().unwrap();
let driver = DriverContext::default() let driver = DriverContext::default()
.set_aeron_dir(&dir) .set_aeron_dir(&dir)
@ -211,7 +211,7 @@ mod tests {
fn single_duty_cycle() { fn single_duty_cycle() {
let temp_dir = tempdir().unwrap(); let temp_dir = tempdir().unwrap();
let path = temp_dir.path().to_path_buf(); let path = temp_dir.path().to_path_buf();
temp_dir.close(); temp_dir.close().unwrap();
let driver = DriverContext::default() let driver = DriverContext::default()
.set_aeron_dir(&path) .set_aeron_dir(&path)