Skip to content

Commit

Permalink
ref: std renamed to std_io
Browse files Browse the repository at this point in the history
  • Loading branch information
ali77gh committed Jun 5, 2024
1 parent a466dec commit 916134b
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/builtin_function/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ mod delay;
mod list;
mod math;
mod random;
mod std;
mod std_io;
mod strings;
mod type_conversion;

Expand Down Expand Up @@ -98,9 +98,9 @@ pub fn function_match(function_name: &str) -> Option<BuiltinFunction> {
"waitsec" | "waitseconds" => Some(delay::wait_second::wait_second),
"waitmin" | "waitminutes" => Some(delay::wait_minute::wait_minute),
"waithour" | "delayhour" => Some(delay::wait_hour::wait_hour),
"print" | "show" | "stdout" => Some(std::println::println),
"input" | "stdin" => Some(std::input::input),
"exit" | "quit" | "kill" | "end" => Some(std::exit::exit),
"print" | "show" | "stdout" => Some(std_io::println::println),
"input" | "stdin" => Some(std_io::input::input),
"exit" | "quit" | "kill" | "end" => Some(std_io::exit::exit),
"pass" | "nop" | "noop" => Some(pass::pass),

// random functions not working in wasm
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 916134b

Please sign in to comment.