radix transform: fix misnamed variable

the _ caused the variable to be optimized away, which is not desired
This commit is contained in:
Michael Sippel 2021-05-22 01:39:08 +02:00
parent ca819aeaf4
commit d9654ab292
Signed by: senvas
GPG key ID: F96CF119C34B64A6

View file

@ -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);
}