diff options
author | la Fleur <lafleur@boum.org> | 2021-11-29 10:26:28 +0000 |
---|---|---|
committer | la Fleur <lafleur@boum.org> | 2021-11-29 10:26:28 +0000 |
commit | 7054902f6388dbc58938564170d6278220903811 (patch) | |
tree | 2d583ea5c7baa3253373a9740a046af398697fc2 /src/chain_methods.rs | |
parent | 8a41f1de700b573afb5051abaac22f1094ae21ad (diff) | |
parent | 3c63e90be830c2b9fe26754600ce5a9ee4db25d0 (diff) |
Merge branch 'docstrings' into 'master'
docstrings update
See merge request rustwall/rustables!13
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; } |