Skip to content

Commit

Permalink
fix: make quoting style consistent
Browse files Browse the repository at this point in the history
  • Loading branch information
dataphract committed Mar 7, 2022
1 parent c7be8cd commit a661a5a
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions crates/bevy_render/src/render_graph/context.rs
Original file line number Diff line number Diff line change
Expand Up @@ -207,11 +207,11 @@ impl<'a> RenderGraphContext<'a> {

#[derive(Error, Debug, Eq, PartialEq)]
pub enum RunSubGraphError {
#[error("attempted to run sub-graph \"{0}\", but it does not exist")]
#[error("attempted to run sub-graph `{0}`, but it does not exist")]
MissingSubGraph(Cow<'static, str>),
#[error("attempted to pass inputs to sub-graph \"{0}\", which has no input slots")]
#[error("attempted to pass inputs to sub-graph `{0}`, which has no input slots")]
SubGraphHasNoInputs(Cow<'static, str>),
#[error("sub graph (name: '{graph_name:?}') could not be run because slot '{slot_name}' at index {slot_index} has no value")]
#[error("sub graph (name: `{graph_name:?}`) could not be run because slot `{slot_name}` at index {slot_index} has no value")]
MissingInput {
slot_index: usize,
slot_name: Cow<'static, str>,
Expand All @@ -231,7 +231,7 @@ pub enum RunSubGraphError {
pub enum OutputSlotError {
#[error("output slot `{0:?}` does not exist")]
InvalidSlot(SlotLabel),
#[error("attempted to output a value of type {actual} to output slot {label:?}, which has type {expected}")]
#[error("attempted to output a value of type `{actual}` to output slot `{label:?}`, which has type `{expected}`")]
MismatchedSlotType {
label: SlotLabel,
expected: SlotType,
Expand All @@ -241,9 +241,9 @@ pub enum OutputSlotError {

#[derive(Error, Debug, Eq, PartialEq)]
pub enum InputSlotError {
#[error("input slot {0:?} does not exist")]
#[error("input slot `{0:?}` does not exist")]
InvalidSlot(SlotLabel),
#[error("attempted to retrieve a value of type {actual} from input slot {label:?}, which has type {expected}")]
#[error("attempted to retrieve a value of type `{actual}` from input slot `{label:?}`, which has type `{expected}`")]
MismatchedSlotType {
label: SlotLabel,
expected: SlotType,
Expand Down

0 comments on commit a661a5a

Please sign in to comment.