Skip to content

Instantly share code, notes, and snippets.

@shepmaster
shepmaster / playground.rs
Created October 11, 2018 15:44
Code shared from the Rust Playground
#![feature(try_from)]
use std::convert::TryInto;
fn main() {
let a: Result<u8, _> = 1000u16.try_into();
}
@shepmaster
shepmaster / playground.rs
Created September 23, 2018 16:34
Code shared from the Rust Playground
// This code was saved by an automated test for the Rust Playground
@shepmaster
shepmaster / playground.rs
Created September 15, 2018 16:27
Code shared from the Rust Playground
// This code was saved by an automated test for the Rust Playground
@shepmaster
shepmaster / playground.rs
Created August 26, 2018 18:44
Code shared from the Rust Playground
// This code was saved by an automated test for the Rust Playground
@shepmaster
shepmaster / playground.rs
Created August 26, 2018 18:37
Code shared from the Rust Playground
// This code was saved by an automated test for the Rust Playground
@shepmaster
shepmaster / playground.rs
Created August 22, 2018 00:32
Code shared from the Rust Playground
// This code was saved by an automated test for the Rust Playground
@shepmaster
shepmaster / playground.rs
Created August 16, 2018 20:45
Code shared from the Rust Playground
fn madin() {
println!("Hello, world!");
}
@shepmaster
shepmaster / playground.rs
Created August 16, 2018 20:19
Code shared from the Rust Playground
// This code was saved by an automated test for the Rust Playground
@shepmaster
shepmaster / playground.rs
Created August 16, 2018 20:06
Code shared from the Rust Playground
// This code was saved by an automated test for the Rust Playground
@shepmaster
shepmaster / playground.rs
Created August 16, 2018 19:11
Code shared from the Rust Playground
// This code was saved by an automated test for the Rust Playground