Fix doc list indentation (#14225)

# Objective

Fixes #14221

## Solution

Add indentation as suggested.

## Testing

Confirmed that
- This makes Clippy happy with rust beta
- Built docs visually look the same before/after
This commit is contained in:
Rob Parrett 2024-07-08 18:21:54 -07:00 committed by GitHub
parent ec1aa48fc6
commit 3594c4f2f5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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,