Skip to content

Commit

Permalink
node: remove duplicate fence info method defs.
Browse files Browse the repository at this point in the history
  • Loading branch information
kivikakk committed May 14, 2024
1 parent 33d9a50 commit 20b4815
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions ext/commonmarker/src/node.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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(())
}

0 comments on commit 20b4815

Please sign in to comment.