From fbf953df0e717767d4315991a9fd7628b3ae78f7 Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Mon, 4 Nov 2024 11:42:51 +0100 Subject: [PATCH] docs fixes --- docs.sh | 3 +++ src/cfdp/pdu/file_data.rs | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100755 docs.sh diff --git a/docs.sh b/docs.sh new file mode 100755 index 0000000..37563d2 --- /dev/null +++ b/docs.sh @@ -0,0 +1,3 @@ +#!/bin/sh +export RUSTDOCFLAGS="--cfg docsrs --generate-link-to-definition -Z unstable-options" +cargo +nightly doc --all-features --open diff --git a/src/cfdp/pdu/file_data.rs b/src/cfdp/pdu/file_data.rs index b3a9e62..db6e09d 100644 --- a/src/cfdp/pdu/file_data.rs +++ b/src/cfdp/pdu/file_data.rs @@ -377,7 +377,7 @@ impl CfdpPdu for FileDataPduCreatorWithReservedDatafield<'_> { } } -/// This structure is created with [FileDataPduCreatorReservedDatafield::write_to_bytes_partially] +/// This structure is created with [FileDataPduCreatorWithReservedDatafield::write_to_bytes_partially] /// and provides an API to read file data from the virtual filesystem into the file data PDU buffer /// directly. ///