format rust and nix files
This commit is contained in:
parent
cb83bc817c
commit
865813263c
9 changed files with 214 additions and 186 deletions
|
@ -1,8 +1,4 @@
|
|||
use core::{
|
||||
panic::set_panic_hook,
|
||||
repl::setup,
|
||||
splash, workspace,
|
||||
};
|
||||
use core::{panic::set_panic_hook, repl::setup, splash, workspace};
|
||||
|
||||
use colored::Colorize;
|
||||
use log::info;
|
||||
|
@ -22,7 +18,10 @@ async fn main() -> anyhow::Result<()> {
|
|||
info!("Type 'help' for a list of commands.");
|
||||
|
||||
let repl_thread = std::thread::spawn(|| {
|
||||
let rt = runtime::Builder::new_current_thread().enable_all().build().unwrap();
|
||||
let rt = runtime::Builder::new_current_thread()
|
||||
.enable_all()
|
||||
.build()
|
||||
.unwrap();
|
||||
rt.block_on(core::repl::input::handle_repl())
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue