SIGN IN SIGN UP
bevyengine / bevy UNCLAIMED

A refreshingly simple data-driven game engine built in Rust

0 0 59 Rust

Fix multi-line log when inserting a resource multiple times (#24376)

# Objective

Fixes #24360

## Solution

Flattened the multi-line `warn!()` message in `resource.rs` using the
`\` character, preventing literal newlines and indentation from being
displayed in log output.

## Testing

Created a small program outside the repo that inserts the same resource
twice, which triggered the warning and confirmed that the log output now
appears on a single line.
T
Tyler Russin committed
977852249afd875ac1acb4904f12277dc2023dec
Parent: 2837e03
Committed by GitHub <noreply@github.com> on 5/21/2026, 12:52:24 PM