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. ///