bevy/crates/bevy_asset/src
Doonv 189ceaf0d3
Replace or document ignored doctests (#11040)
# Objective

There are a lot of doctests that are `ignore`d for no documented reason.
And that should be fixed.

## Solution

I searched the bevy repo with the regex ` ```[a-z,]*ignore ` in order to
find all `ignore`d doctests. For each one of the `ignore`d doctests, I
did the following steps:
1. Attempt to remove the `ignored` attribute while still passing the
test. I did this by adding hidden dummy structs and imports.
2. If step 1 doesn't work, attempt to replace the `ignored` attribute
with the `no_run` attribute while still passing the test.
3. If step 2 doesn't work, keep the `ignored` attribute but add
documentation for why the `ignored` attribute was added.

---------

Co-authored-by: François <mockersf@gmail.com>
2024-01-01 16:50:56 +00:00
..
io Reorder impl to be the same as the trait (#11076) 2023-12-24 17:43:55 +00:00
processor Remove unnecessary parens (#11075) 2023-12-24 17:43:01 +00:00
server Refactor process_handle_drop_internal() in bevy_asset (#10920) 2023-12-12 19:46:37 +00:00
assets.rs Remove unnecessary parentheses (#10990) 2023-12-16 02:26:18 +00:00
event.rs Bevy Asset V2 (#8624) 2023-09-07 02:07:27 +00:00
folder.rs Bevy Asset V2 (#8624) 2023-09-07 02:07:27 +00:00
handle.rs remove double-hasing of typeid for handle (#10699) 2023-11-23 01:04:37 +00:00
id.rs Fix Asset Loading Bug (#10698) 2023-11-22 13:39:44 +00:00
lib.rs Reorder impl to be the same as the trait (#11076) 2023-12-24 17:43:55 +00:00
loader.rs Reorder impl to be the same as the trait (#11076) 2023-12-24 17:43:55 +00:00
meta.rs Reorder impl to be the same as the trait (#11076) 2023-12-24 17:43:55 +00:00
path.rs Replace or document ignored doctests (#11040) 2024-01-01 16:50:56 +00:00
reflect.rs Replace or document ignored doctests (#11040) 2024-01-01 16:50:56 +00:00
saver.rs Make AssetLoader/Saver Error type bounds compatible with anyhow::Error (#10493) 2023-11-14 01:25:06 +00:00