aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlafleur <lafleur@boum.org>2021-11-29 01:13:23 +0100
committerlafleur <lafleur@boum.org>2021-11-29 01:13:23 +0100
commit3c63e90be830c2b9fe26754600ce5a9ee4db25d0 (patch)
tree2d583ea5c7baa3253373a9740a046af398697fc2
parent31ec55ed944c6177de44f0bbf7b135f64ae81b86 (diff)
resolve link to build.rs
the generated doc does not hold a copy of build.rs, so linking to gitlab's source file instead.
-rw-r--r--src/lib.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 782b0f7..fbb96f3 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -45,7 +45,7 @@
//!
//! This crate will automatically link to the currently installed version of libnftnl upon build.
//! It requires libnftnl version 1.0.6 or higher. See how the low level FFI bindings to the C
-//! library are generated in [`build.rs`](../../../build.rs).
+//! library are generated in [`build.rs`].
//!
//! # Access to raw handles
//!
@@ -68,6 +68,7 @@
//!
//! [`libnftnl`]: https://netfilter.org/projects/libnftnl/
//! [`nftables`]: https://netfilter.org/projects/nftables/
+//! [`build.rs`]: https://gitlab.com/rustwall/rustables/-/blob/master/build.rs
use thiserror::Error;