Skip to content

Instantly share code, notes, and snippets.

@shepmaster
shepmaster / playground.rs
Created November 16, 2018 01:20
Code shared from the Rust Playground
// This code was saved by an automated test for the Rust Playground
@shepmaster
shepmaster / playground.rs
Created November 16, 2018 00:44
Code shared from the Rust Playground
// This code was saved by an automated test for the Rust Playground
@shepmaster
shepmaster / playground.rs
Created November 1, 2018 13:01
Code shared from the Rust Playground
// This code was saved by an automated test for the Rust Playground
@shepmaster
shepmaster / playground.rs
Created November 1, 2018 00:09
Code shared from the Rust Playground
// This code was saved by an automated test for the Rust Playground
@shepmaster
shepmaster / playground.rs
Created October 31, 2018 23:45
Code shared from the Rust Playground
// This code was saved by an automated test for the Rust Playground
@shepmaster
shepmaster / playground.rs
Created October 31, 2018 23:24
Code shared from the Rust Playground
// This code was saved by an automated test for the Rust Playground
@shepmaster
shepmaster / playground.rs
Created October 11, 2018 22:23
Code shared from the Rust Playground
abc
@shepmaster
shepmaster / playground.rs
Created October 11, 2018 22:22
Code shared from the Rust Playground
a
@shepmaster
shepmaster / playground.rs
Created October 11, 2018 22:18
Code shared from the Rust Playground
a
@shepmaster
shepmaster / playground.rs
Created October 11, 2018 15:45
Code shared from the Rust Playground
#![feature(try_from)]
use std::convert::TryInto;
fn main() {
let a: Result<u8, _> = 1000u16.try_into();
}