summaryrefslogtreecommitdiffstats
path: root/src/poem/recite.rs
diff options
context:
space:
mode:
authorRory Dudley2024-06-30 20:09:26 -0600
committerRory Dudley2024-06-30 20:09:26 -0600
commitb8338719e2cc2138bc67c10ad56fb707f5e3b546 (patch)
treec27c2dc3a6dc7491da94e47eaad4530e855d17f1 /src/poem/recite.rs
parente23e4a036008a6f3a3356d48434615a05dcc17e0 (diff)
downloaddwarvish-b8338719e2cc2138bc67c10ad56fb707f5e3b546.tar.gz
Add/update doc comments
This patch update a ton of the documentation comments throughout the codebase, refactoring some areas, and adding new comments to others.
Diffstat (limited to 'src/poem/recite.rs')
-rw-r--r--src/poem/recite.rs11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/poem/recite.rs b/src/poem/recite.rs
index 7ceecca..89f71c8 100644
--- a/src/poem/recite.rs
+++ b/src/poem/recite.rs
@@ -17,11 +17,12 @@ pub trait Reciteable {
impl Reciteable for Poem {
/// Recite a [Poem]
///
- /// Runs the commands specified in all verses for a given [Poem]. See
- /// [crate::poem::Verse::incant] for more details on how processes are
- /// forked. In addition to running each [crate::poem::Verse],
- /// [Poem::recite] also checks for the presence of environment variables,
- /// as well as sub-poems, before running the [crate::poem::Verse]'s
+ /// Runs the commands specified in all verses for a given [Poem].
+ /// See [incant()][crate::poem::Verse::incant] for more details on
+ /// how processes are forked. In addition to running each
+ /// [Verse][crate::poem::Verse], [recite()][Poem::recite] also
+ /// checks for the presence of environment variables, as well as
+ /// internal poems, before running the [Verse][crate::poem::Verse]'s
/// [Stanza].
fn recite(&self, env: &mut Environment) -> Result<Vec<u8>, io::Error> {
// Variable for storing the output of a piped verse