diff options
| author | Kevin Reid <kpreid@switchb.org> | 2024-05-09 16:58:25 -0700 |
|---|---|---|
| committer | Kevin Reid <kpreid@switchb.org> | 2024-05-09 17:58:38 -0700 |
| commit | c21c5baad9e8404777297705b6e55c0abcc7e6d9 (patch) | |
| tree | d44c99b06c5875af3889c366b689adcdb312d146 /compiler/rustc_codegen_cranelift/example/std_example.rs | |
| parent | e6e262f1250e6978eea528ee8c391786c9b4f44e (diff) | |
| download | rust-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_codegen_cranelift/example/std_example.rs')
0 files changed, 0 insertions, 0 deletions
