mirror of
https://github.com/pezkuwichain/serde.git
synced 2026-04-26 03:57:56 +00:00
Use differently named __private module per patch release
This commit is contained in:
@@ -96,7 +96,10 @@ struct private;
|
||||
|
||||
impl private {
|
||||
fn ident(&self) -> Ident {
|
||||
Ident::new("__private", Span::call_site())
|
||||
Ident::new(
|
||||
concat!("__private", env!("CARGO_PKG_VERSION_PATCH")),
|
||||
Span::call_site(),
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user