Skip to content

Instantly share code, notes, and snippets.

Cerberuser

Block or report user

Report or block Cerberuser

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@Cerberuser
Cerberuser / playground.rs
Created Oct 3, 2019 — forked from rust-play/playground.rs
Code shared from the Rust Playground
View playground.rs
macro_rules! commands {
(
($cmd_enum:ident, $results_mod:ident, $ret_enum:ident),
$(
$cmd:ident -> $(
$res:ident $(
($($inner:ty),+)
)?
)|+
),+
@Cerberuser
Cerberuser / playground.rs
Last active Sep 22, 2019 — forked from rust-play/playground.rs
Code shared from the Rust Playground
View playground.rs
#![allow(dead_code)]
#![allow(unused_variables)]
mod naive {
fn foo(x: &[i32], y: i32) -> Option<usize> {
super::real_impl::find(x, y)
}
#[test]
You can’t perform that action at this time.