as seen in the screenshot copy and pasting (and a little editing) of cdk-rs/lib.rs at main · dfinity/cdk-rs · GitHub
I get a
Post-upgrade function already declared error, everything works like it should but I really want to resolve this.
I tried renaming the
fn pre_upgrade to
fn pre_upgrade_something but it keeps the error.
What is causing the issue? (i’m new to Rust so maybe it’s just a beginner problem)
Thanks is advance