Skip to content

Commit f7309c0

Browse files
committed
Touch ups
1 parent fa18a5d commit f7309c0

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

crates/bevy_reflect/bevy_reflect_derive/src/type_uuid.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ pub fn type_uuid_derive(input: proc_macro::TokenStream) -> proc_macro::TokenStre
4040

4141
uuid = Some(
4242
Uuid::parse_str(&uuid_str.value())
43-
.expect("Value specified to `#[uuid]` attribute is not a valid `UUID`."),
43+
.expect("Value specified to `#[uuid]` attribute is not a valid UUID."),
4444
);
4545
}
4646

@@ -79,7 +79,7 @@ impl Parse for ExternalDeriveInput {
7979
pub fn external_type_uuid(tokens: proc_macro::TokenStream) -> proc_macro::TokenStream {
8080
let ExternalDeriveInput { path, uuid_str } = parse_macro_input!(tokens as ExternalDeriveInput);
8181

82-
let uuid = Uuid::parse_str(&uuid_str.value()).expect("Value was not a valid `UUID`.");
82+
let uuid = Uuid::parse_str(&uuid_str.value()).expect("Value was not a valid UUID.");
8383

8484
let bytes = uuid
8585
.as_bytes()

crates/bevy_scene/src/scene_spawner.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,9 @@ pub struct SceneSpawner {
3636
pub enum SceneSpawnError {
3737
#[error("scene contains an unregistered component")]
3838
UnregisteredComponent { type_name: String },
39-
#[error("scene does not exist, perhaps it is still loading")]
39+
#[error("scene does not exist")]
4040
NonExistentScene { handle: Handle<DynamicScene> },
41-
#[error("scene does not exist, perhaps it is still loading")]
41+
#[error("scene does not exist")]
4242
NonExistentRealScene { handle: Handle<Scene> },
4343
}
4444

crates/bevy_wgpu/src/renderer/wgpu_render_context.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ fn get_texture_view<'a>(
192192
}
193193
},
194194
TextureAttachment::Id(render_resource) => refs.textures.get(&render_resource).unwrap_or_else(|| &refs.swap_chain_frames.get(&render_resource).unwrap().output.view),
195-
TextureAttachment::Input(_) => panic!("Encountered unset TextureAttachment::Input. The RenderGraph executor should always set TextureAttachment::Inputs to TextureAttachment::RenderResource before running. This is a bug, please report it!"),
195+
TextureAttachment::Input(_) => panic!("Encountered unset `TextureAttachment::Input`. The `RenderGraph` executor should always set `TextureAttachment::Inputs` to `TextureAttachment::RenderResource` before running. This is a bug, please report it!"),
196196
}
197197
}
198198

0 commit comments

Comments
 (0)