ref-cast 1.0.0

Safely cast &T to &U where the struct U contains a single field of type T.
Documentation
[badges.travis-ci]
repository = "dtolnay/ref-cast"
[dependencies.ref-cast-impl]
version = "=1.0.0"
[dev-dependencies.rustversion]
version = "1.0"

[dev-dependencies.trybuild]
version = "1.0"

[package]
authors = ["David Tolnay <dtolnay@gmail.com>"]
description = "Safely cast &T to &U where the struct U contains a single field of type T."
documentation = "https://docs.rs/ref-cast"
edition = "2018"
license = "MIT OR Apache-2.0"
name = "ref-cast"
readme = "README.md"
repository = "https://github.com/dtolnay/ref-cast"
version = "1.0.0"