From 4061646c1c5568a73fb9c75091aab3170c8bc089 Mon Sep 17 00:00:00 2001 From: William Lyles <26171886+wilyle@users.noreply.github.com> Date: Fri, 3 Nov 2023 14:57:22 -0700 Subject: [PATCH] make fn clearer --- contracts/src/entity.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contracts/src/entity.rs b/contracts/src/entity.rs index b1d7c404..d5097a43 100644 --- a/contracts/src/entity.rs +++ b/contracts/src/entity.rs @@ -39,8 +39,8 @@ impl Entity { /// or `None` if no such endpoint could be found. /// /// # Arguments - /// - `protocols`: the list of protocols which are acceptable - /// - `operations`: the list of operations which are acceptable + /// - `accepted_protocols`: the list of protocols which are acceptable + /// - `accepted_operations`: the list of operations which are acceptable pub fn is_supported( &self, accepted_protocols: &[&str],