diff --git a/crates/partially/src/lib.rs b/crates/partially/src/lib.rs index 719fcf6..8e590b7 100644 --- a/crates/partially/src/lib.rs +++ b/crates/partially/src/lib.rs @@ -1,4 +1,4 @@ -#![doc = include_str!("../../../README.md")] +#![doc = include_str!(concat!("../", env!("CARGO_PKG_README")))] /// ## partially_derive /// supports automatically generating a mirrored struct with each field wrapped in [`Option`], and generates a `partially::Partial` implementation that allows applying the [`Some`] fields of the mirrored struct to the base struct.