about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src/coverage/graph.rs
diff options
context:
space:
mode:
authorKevin Reid <kpreid@switchb.org>2024-05-09 16:58:25 -0700
committerKevin Reid <kpreid@switchb.org>2024-05-09 17:58:38 -0700
commitc21c5baad9e8404777297705b6e55c0abcc7e6d9 (patch)
treed44c99b06c5875af3889c366b689adcdb312d146 /compiler/rustc_mir_transform/src/coverage/graph.rs
parente6e262f1250e6978eea528ee8c391786c9b4f44e (diff)
downloadrust-c21c5baad9e8404777297705b6e55c0abcc7e6d9.tar.gz
rust-c21c5baad9e8404777297705b6e55c0abcc7e6d9.zip
Document proper usage of `fmt::Error` and `fmt()`'s `Result`.
Documentation of these properties previously existed in a lone paragraph
in the `fmt` module's documentation:
<https://doc.rust-lang.org/1.78.0/std/fmt/index.html#formatting-traits>
However, users looking to implement a formatting trait won't necessarily
look there. Therefore, let's add the critical information (that
formatting per se is infallible) to all the involved items.
Diffstat (limited to 'compiler/rustc_mir_transform/src/coverage/graph.rs')
0 files changed, 0 insertions, 0 deletions