aboutsummaryrefslogtreecommitdiff
path: root/src/chain_methods.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/chain_methods.rs')
-rw-r--r--src/chain_methods.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/chain_methods.rs b/src/chain_methods.rs
index 8259d13..c41e085 100644
--- a/src/chain_methods.rs
+++ b/src/chain_methods.rs
@@ -3,12 +3,12 @@ use std::ffi::CString;
use std::rc::Rc;
-/// A helper trait over [`rustables::Chain`].
+/// A helper trait over [`crate::Chain`].
pub trait ChainMethods {
- /// Create a new Chain instance from a [`rustables::Hook`] over a [`rustables::Table`].
+ /// Create 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 [`rustables::Policy`] to the current Chain.
+ /// Add a [`crate::Policy`] to the current Chain.
fn verdict(self, policy: Policy) -> Self;
fn add_to_batch(self, batch: &mut Batch) -> Self;
}