Commit e69ede3
authored
Add doc(cfg) to read_from_io and write_to_io (#2786)
Added `#[cfg_attr(doc_cfg, doc(cfg(feature = "std")))]` to `FromBytes::read_from_io` and `IntoBytes::write_to_io` in `src/lib.rs` to ensure feature requirements are visible in the documentation.
Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>1 parent ec1bc1f commit e69ede3
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4665 | 4665 | | |
4666 | 4666 | | |
4667 | 4667 | | |
| 4668 | + | |
4668 | 4669 | | |
4669 | 4670 | | |
4670 | 4671 | | |
| |||
5401 | 5402 | | |
5402 | 5403 | | |
5403 | 5404 | | |
| 5405 | + | |
5404 | 5406 | | |
5405 | 5407 | | |
5406 | 5408 | | |
| |||
0 commit comments