Skip to content

Commit d3303c2

Browse files
committed
Merge #775
775: Fix test warnings r=asomers a=SanchayanMaity
2 parents 9f4db8a + b8129e0 commit d3303c2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

nix-test/build.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ pub fn main() {
1313
"UNKNOWN"
1414
};
1515

16-
gcc::Config::new()
16+
gcc::Build::new()
1717
.file("src/const.c")
1818
.file("src/sizes.c")
1919
.define(os, None)

test/sys/test_aio.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ use std::{thread, time};
1313
use tempfile::tempfile;
1414

1515
// Helper that polls an AioCb for completion or error
16-
fn poll_aio(mut aiocb: &mut AioCb) -> Result<()> {
16+
fn poll_aio(aiocb: &mut AioCb) -> Result<()> {
1717
loop {
1818
let err = aiocb.error();
1919
if err != Err(Error::from(Errno::EINPROGRESS)) { return err; };

0 commit comments

Comments
 (0)