aboutsummaryrefslogtreecommitdiff
path: root/src/chain_methods.rs
diff options
context:
space:
mode:
authorlafleur <lafleur@boum.org>2021-11-28 16:42:27 +0100
committerlafleur <lafleur@boum.org>2021-11-28 16:42:27 +0100
commit100e365bc653089d54319355a8dea99b28a77a15 (patch)
tree552b5c9dfc79e1030be31fff514f67211839c31c /src/chain_methods.rs
parent8a41f1de700b573afb5051abaac22f1094ae21ad (diff)
docstrings update + typography
Diffstat (limited to 'src/chain_methods.rs')
-rw-r--r--src/chain_methods.rs4
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;
}