Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Borrow function in NFT Docs #895

Merged
merged 2 commits into from
Sep 19, 2024
Merged

Commits on Sep 11, 2024

  1. Update nft.md

    In function borrowNFT_  NonFungibleToken type cast to `&{NFT}?` is redundant. To remove this error added Force Unwrap Operator (!).
    DappCoderr authored Sep 11, 2024
    Configuration menu
    Copy the full SHA
    c30a991 View commit details
    Browse the repository at this point in the history

Commits on Sep 19, 2024

  1. Update: Remove the cast from the borrowNFT fun.

    Removing the cast to &{NonFungibleToken.NFT} as it's redundant and introduces potential warnings.
    DappCoderr authored Sep 19, 2024
    Configuration menu
    Copy the full SHA
    00bdd28 View commit details
    Browse the repository at this point in the history