diff options
author | Rory Dudley | 2024-06-30 20:09:26 -0600 |
---|---|---|
committer | Rory Dudley | 2024-06-30 20:09:26 -0600 |
commit | b8338719e2cc2138bc67c10ad56fb707f5e3b546 (patch) | |
tree | c27c2dc3a6dc7491da94e47eaad4530e855d17f1 /src/poem/elements/stanza.rs | |
parent | e23e4a036008a6f3a3356d48434615a05dcc17e0 (diff) | |
download | dwarvish-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/elements/stanza.rs')
-rw-r--r-- | src/poem/elements/stanza.rs | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/poem/elements/stanza.rs b/src/poem/elements/stanza.rs index d58d080..b5acf32 100644 --- a/src/poem/elements/stanza.rs +++ b/src/poem/elements/stanza.rs @@ -1,10 +1,10 @@ /// The actionable part of a [Verse][super::verse::Verse] /// -/// Each [Stanza] has two parts, a `verb()` and a `clause()`. The `verb()` is -/// the program, or path to the program to call, while the `clause()` contains -/// arguments to pass to that program. +/// Each [Stanza] has two parts, a `verb()` and a `clause()`. The +/// `verb()` is the program, or path to the program to call, while the +/// `clause()` contains arguments to pass to that program. /// -/// The [Stanza] is just stored as a [Vec] of [String]s, where the verb is the -/// first entry in the vector (i.e. `stanza[0]`) and the clause the the -/// remainder of the vector (i.e. `stanza[1..]`). +/// The [Stanza] is just stored as a [Vec] of [String]s, where the verb +/// is the first entry in the vector (i.e. `stanza[0]`) and the clause +/// the the remainder of the vector (i.e. `stanza[1..]`). pub type Stanza = Vec<String>; |