Commit fb094ea
authored
Move default docs (#9638)
# Objective
- Make the default docs more useful like suggested in
#9600 (comment)
## Solution
- Move the documentation to the `fn default()` method instead of the
`impl Default`.
Allows you to view the docs directly on the function without having to
go to the implementation.
### Before

### After
1 parent f2f39c8 commit fb094ea
File tree
2 files changed
+5
-5
lines changed- crates
- bevy_ecs/src/schedule
- bevy_render/src/view/visibility
2 files changed
+5
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
168 | 168 | | |
169 | 169 | | |
170 | 170 | | |
171 | | - | |
172 | | - | |
173 | | - | |
174 | | - | |
175 | 171 | | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
176 | 176 | | |
177 | 177 | | |
178 | 178 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
42 | 41 | | |
| 42 | + | |
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| |||
0 commit comments