radix transform: fix misnamed variable
the _ caused the variable to be optimized away, which is not desired
This commit is contained in:
parent
ca819aeaf4
commit
d9654ab292
1 changed files with 4 additions and 2 deletions
|
@ -103,7 +103,7 @@ async fn main() {
|
|||
);
|
||||
|
||||
// output dst digits
|
||||
let _writer = {
|
||||
let writer = {
|
||||
use std::{
|
||||
os::unix::io::FromRawFd
|
||||
};
|
||||
|
@ -119,5 +119,7 @@ async fn main() {
|
|||
|
||||
src_digits.from_json(unsafe { async_std::fs::File::from_raw_fd(0) }).await;
|
||||
}
|
||||
|
||||
drop(writer);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue