Skip to content

Commit

Permalink
self-review
Browse files Browse the repository at this point in the history
  • Loading branch information
akorchyn committed Feb 4, 2025
1 parent 34d1a3a commit b3713af
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions near-sdk/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ extern crate quickcheck;
/// ### Basic error handling example
///
/// This example shows how to use error handling in a contract when the types are defined in the contract.
/// This way the contract can utilize result types and panic with the type using its `ToString` implementation
/// This way the contract can utilize result types and panic with the type using its [ToString] implementation
///
/// ```rust
/// use near_sdk::{near, FunctionError};
Expand Down Expand Up @@ -554,7 +554,7 @@ pub use near_sdk_macros::EventMetadata;
pub use near_sdk_macros::NearSchema;

/// `FunctionError` generates implementation for `near_sdk::FunctionError` trait.
/// It allows contract runtime to panic with the type using its `ToString` implementation
/// It allows contract runtime to panic with the type using its [ToString] implementation
/// as the message.
/// ## Example
/// ```rust
Expand Down

0 comments on commit b3713af

Please sign in to comment.