From 20b4815f27e1e2dd1f2a233550cd07637eb87670 Mon Sep 17 00:00:00 2001 From: Asherah Connor Date: Tue, 14 May 2024 10:08:05 +0300 Subject: [PATCH] node: remove duplicate fence info method defs. --- ext/commonmarker/src/node.rs | 3 --- 1 file changed, 3 deletions(-) diff --git a/ext/commonmarker/src/node.rs b/ext/commonmarker/src/node.rs index 2b7b2f85..c4712e40 100644 --- a/ext/commonmarker/src/node.rs +++ b/ext/commonmarker/src/node.rs @@ -1108,8 +1108,5 @@ pub fn init(m_commonmarker: RModule) -> Result<(), magnus::Error> { c_node.define_method("fence_info", method!(CommonmarkerNode::get_fence_info, 0))?; c_node.define_method("fence_info=", method!(CommonmarkerNode::set_fence_info, 1))?; - c_node.define_method("fence_info", method!(CommonmarkerNode::get_fence_info, 0))?; - c_node.define_method("fence_info=", method!(CommonmarkerNode::set_fence_info, 1))?; - Ok(()) }