blob: 8aed5a98282e8bc8266e7bdda0642e4dd957f245 (
plain) (
tree)
|
|
//! Extra tests!
//!
//! ```compile_fail
//! use std::mem;
//! use hexchat_unsafe_plugin::PluginHandle;
//!
//! fn prepoop_your_pants_pluginhandle<'ph>(ph: &mut PluginHandle<'ph>) {
//! let temporary: String = "Hello, world!".to_string();
//! let hook = ph.hook_timer(0, |_| {
//! println!("{}", temporary);
//! true
//! });
//! }
//! ```
|