diff options
Diffstat (limited to 'src/chain_methods.rs')
-rw-r--r-- | src/chain_methods.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/chain_methods.rs b/src/chain_methods.rs index c41e085..d384c35 100644 --- a/src/chain_methods.rs +++ b/src/chain_methods.rs @@ -5,10 +5,10 @@ use std::rc::Rc; /// A helper trait over [`crate::Chain`]. pub trait ChainMethods { - /// Create a new Chain instance from a [`crate::Hook`] over a [`crate::Table`]. + /// Creates a new Chain instance from a [`crate::Hook`] over a [`crate::Table`]. fn from_hook(hook: Hook, table: Rc<Table>) -> Self where Self: std::marker::Sized; - /// Add a [`crate::Policy`] to the current Chain. + /// Adds a [`crate::Policy`] to the current Chain. fn verdict(self, policy: Policy) -> Self; fn add_to_batch(self, batch: &mut Batch) -> Self; } |