Skip to content

Commit

Permalink
Fix doc list indentation (bevyengine#14225)
Browse files Browse the repository at this point in the history
# Objective

Fixes bevyengine#14221

## Solution

Add indentation as suggested.

## Testing

Confirmed that
- This makes Clippy happy with rust beta
- Built docs visually look the same before/after
  • Loading branch information
rparrett authored Jul 9, 2024
1 parent ec1aa48 commit 3594c4f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions crates/bevy_reflect/src/func/into_function.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,13 +48,13 @@ use bevy_utils::all_tuples;
///
/// Secondly, the allowed return type is dependent on the first argument of the function:
/// - If the first argument is an immutable reference,
/// then the return type may be either an owned type, a static reference type, or a reference type
/// bound to the lifetime of the first argument.
/// then the return type may be either an owned type, a static reference type, or a reference type
/// bound to the lifetime of the first argument.
/// - If the first argument is a mutable reference,
/// then the return type may be either an owned type, a static reference type, or be a mutable reference type
/// bound to the lifetime of the first argument.
/// then the return type may be either an owned type, a static reference type, or be a mutable reference type
/// bound to the lifetime of the first argument.
/// - If the first argument is an owned type,
/// then the return type may be either an owned type or a static reference type.
/// then the return type may be either an owned type or a static reference type.
///
/// The return type must always implement [`GetOwnership`] and [`TypePath`].
/// If it is either an owned type or a static reference type,
Expand Down

0 comments on commit 3594c4f

Please sign in to comment.