Rust 2018
This commit is contained in:
@@ -1,9 +1,7 @@
|
||||
use rhai::{Engine, RegisterFn};
|
||||
use std::env;
|
||||
use std::fmt::Display;
|
||||
|
||||
extern crate rhai;
|
||||
use rhai::{Engine, RegisterFn};
|
||||
|
||||
fn showit<T: Display>(x: &mut T) -> () {
|
||||
println!("{}", x)
|
||||
}
|
||||
|
Reference in New Issue
Block a user