Merge pull request #2 from coswat/master

organized imports, formatted code with cargo fmt
This commit is contained in:
Daniil Gentili 2023-08-29 20:51:12 +02:00 committed by GitHub
commit 1c41b1a5ac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,18 +1,16 @@
use crate::borrow_unchecked::borrow_unchecked; use crate::borrow_unchecked::borrow_unchecked;
use lazy_static::lazy_static; use lazy_static::lazy_static;
use nicelocal_ext_php_rs::boxed::ZBox; use nicelocal_ext_php_rs::{
use nicelocal_ext_php_rs::call_user_func; boxed::ZBox, call_user_func, prelude::*, types::ZendHashTable, zend::Function,
use nicelocal_ext_php_rs::prelude::*; };
use nicelocal_ext_php_rs::types::ZendHashTable; use std::{
use nicelocal_ext_php_rs::zend::Function; cell::RefCell,
use std::cell::RefCell; fs::File,
use std::fs::File; future::Future,
use std::future::Future; io::{self, Read, Write},
use std::io::Read; os::fd::{AsRawFd, FromRawFd, RawFd},
use std::io::{self, Write}; sync::mpsc::{channel, Receiver, Sender},
use std::os::fd::AsRawFd; };
use std::os::fd::{FromRawFd, RawFd};
use std::sync::mpsc::{channel, Receiver, Sender};
use tokio::runtime::Runtime; use tokio::runtime::Runtime;
lazy_static! { lazy_static! {