← Back to Posts
a listing of links i enjoy reading
july 01, 2025

all-time favourites

2025

august

31

september

01

03

currently, you need to update to a nightly release of the compiler. and it will only work on the newtype pattern.
#![feature(derive_from)]

use std::from::From;

#[derive(From)]
struct Foo(u32);

fn main() {
    let f: Foo = 1u32.into();
}
rust

05

08