arch: fdt: minor documentation cleanups

Wrap the link to the FDT spec in <> so it becomes a clickable link in
the doc output.

Also fix a parenthesized abbreviation of Devicetree Blob to be DTB
rather than FDT.

BUG=None
TEST=cargo doc

Change-Id: Ie607acb6388820e7dfdb436bdad34ff077289666
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/2763204
Reviewed-by: Zach Reizner <zachr@chromium.org>
Reviewed-by: Dylan Reid <dgreid@chromium.org>
Tested-by: kokoro <noreply+kokoro@google.com>
Commit-Queue: Daniel Verkamp <dverkamp@chromium.org>
This commit is contained in:
Daniel Verkamp 2021-03-15 15:34:02 -07:00 committed by Commit Bot
parent 2cce1a271b
commit 6485f8115d

View file

@ -3,7 +3,7 @@
// found in the LICENSE file.
//! This module writes Flattened Devicetree blobs as defined here:
//! https://devicetree-specification.readthedocs.io/en/stable/flattened-format.html
//! <https://devicetree-specification.readthedocs.io/en/stable/flattened-format.html>
use std::collections::BTreeMap;
use std::convert::TryInto;
@ -48,7 +48,7 @@ const FDT_END_NODE: u32 = 0x00000002;
const FDT_PROP: u32 = 0x00000003;
const FDT_END: u32 = 0x00000009;
/// Interface for writing a Flattened Devicetree (FDT) and emitting a Devicetree Blob (FDT).
/// Interface for writing a Flattened Devicetree (FDT) and emitting a Devicetree Blob (DTB).
///
/// # Example
///