Grammar fixes in render graph doc (#5671)

# Objective

Fixing some grammar in the rustdoc for RenderGraph
This commit is contained in:
Charlie Hills 2022-08-13 15:27:49 +00:00
parent de6bef72a1
commit 0e46b04560

View File

@ -12,7 +12,7 @@ use std::{borrow::Cow, fmt::Debug};
use super::EdgeExistence; use super::EdgeExistence;
/// The render graph configures the modular, parallel and re-usable render logic. /// The render graph configures the modular, parallel and re-usable render logic.
/// It is a retained and stateless (nodes itself my have their internal state) structure, /// It is a retained and stateless (nodes themselves may have internal state) structure,
/// which can not be modified while it is executed by the graph runner. /// which can not be modified while it is executed by the graph runner.
/// ///
/// The `RenderGraphRunner` is responsible for executing the entire graph each frame. /// The `RenderGraphRunner` is responsible for executing the entire graph each frame.
@ -25,7 +25,7 @@ use super::EdgeExistence;
/// Slots describe the render resources created or used by the nodes. /// Slots describe the render resources created or used by the nodes.
/// ///
/// Additionally a render graph can contain multiple sub graphs, which are run by the /// Additionally a render graph can contain multiple sub graphs, which are run by the
/// corresponding nodes. Every render graph can have its own optional input node. /// corresponding nodes. Every render graph can have its own optional input node.
/// ///
/// ## Example /// ## Example
/// Here is a simple render graph example with two nodes connected by a node edge. /// Here is a simple render graph example with two nodes connected by a node edge.