From 499d0ce714c277ae08290ef9d03b679c69bce3d7 Mon Sep 17 00:00:00 2001 From: akorchyn Date: Thu, 30 Jan 2025 19:23:54 +0200 Subject: [PATCH] restore --- .../src/core_impl/abi/abi_generator.rs | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) diff --git a/near-sdk-macros/src/core_impl/abi/abi_generator.rs b/near-sdk-macros/src/core_impl/abi/abi_generator.rs index 29c4075ef..4a2d2b5f1 100644 --- a/near-sdk-macros/src/core_impl/abi/abi_generator.rs +++ b/near-sdk-macros/src/core_impl/abi/abi_generator.rs @@ -44,22 +44,10 @@ impl ImplItemMethodInfo { /// /// # Example: /// The following function: - /// ```rust - /// # use near_sdk::{near}; - /// # #[near(contract_state)] - /// # #[derive(Default)] - /// # pub struct Counter { - /// # val: u64, - /// # } - /// - /// # #[near] - /// # impl Counter { + /// ```ignore /// /// I am a function. /// #[handle_result] - /// pub fn f3(&mut self, arg0: FancyStruct, arg1: u64) -> Result { - /// # unimplemented!() - /// } - /// #} + /// pub fn f3(&mut self, arg0: FancyStruct, arg1: u64) -> Result { } /// ``` /// will produce this struct: /// ```ignore