mirror of
https://github.com/bevyengine/bevy
synced 2024-12-01 17:09:12 +00:00
694c06f3d0
# Objective Currently the `missing_docs` lint is allowed-by-default and enabled at crate level when their documentations is complete (see #3492). This PR proposes to inverse this logic by making `missing_docs` warn-by-default and mark crates with imcomplete docs allowed. ## Solution Makes `missing_docs` warn at workspace level and allowed at crate level when the docs is imcomplete.
11 lines
207 B
Rust
11 lines
207 B
Rust
//! A minimal example that outputs "hello world"
|
|
|
|
use bevy::prelude::*;
|
|
|
|
fn main() {
|
|
App::new().add_systems(Update, hello_world_system).run();
|
|
}
|
|
|
|
fn hello_world_system() {
|
|
println!("hello world");
|
|
}
|