Skip to content

Commit

Permalink
[docs] Yeet
Browse files Browse the repository at this point in the history
  • Loading branch information
pablo-lua committed Oct 12, 2024
1 parent 7ee4171 commit 311cbfc
Showing 1 changed file with 4 additions and 16 deletions.
20 changes: 4 additions & 16 deletions crates/bevy_app/src/app.rs
Original file line number Diff line number Diff line change
Expand Up @@ -801,10 +801,7 @@ impl App {
/// }
///
/// fn validate(query: Option<Single<(&A, &B, &C)>>) {
/// assert!(query.is_some());
/// let Some((a, b, c)) = *query else {
/// return;
/// };
/// let (a, b, c) = query.unwrap().into_inner()
/// assert_eq!(b, &B(0));
/// assert_eq!(c, &C(0));
/// }
Expand Down Expand Up @@ -867,10 +864,7 @@ impl App {
/// }
///
/// fn validate(query: Option<Single<(&A, &B, &C)>>) {
/// assert!(query.is_some());
/// let Some((a, b, c)) = *query else {
/// return;
/// };
/// let (a, b, c) = query.unwrap().into_inner()
/// assert_eq!(b, &B(0));
/// assert_eq!(c, &C(2));
/// }
Expand Down Expand Up @@ -935,10 +929,7 @@ impl App {
/// }
///
/// fn validate(query: Option<Single<(&A, &B, &C)>>) {
/// assert!(query.is_some());
/// let Some((a, b, c)) = *query else {
/// return;
/// };
/// let (a, b, c) = query.unwrap().into_inner()
/// assert_eq!(b, &B(0));
/// assert_eq!(c, &C(0));
/// }
Expand Down Expand Up @@ -1003,10 +994,7 @@ impl App {
/// }
///
/// fn validate(query: Option<Single<(&A, &B, &C)>>) {
/// assert!(query.is_some());
/// let Some((a, b, c)) = *query else {
/// return;
/// };
/// let (a, b, c) = query.unwrap().into_inner()
/// assert_eq!(b, &B(0));
/// assert_eq!(c, &C(2));
/// }
Expand Down

0 comments on commit 311cbfc

Please sign in to comment.