summaryrefslogtreecommitdiff
path: root/src/visitor/typesetting.rs
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2022-04-26 07:48:22 +0300
committerLars Wirzenius <liw@liw.fi>2022-04-26 08:14:22 +0300
commit3422999e5a4fc6b08637d00cae11f523c747f036 (patch)
tree8940d4eca8c663e72cf051b22b9232eb6a84b056 /src/visitor/typesetting.rs
parent924e05bc3d109340eeee7e06c6badeae12d45c10 (diff)
downloadsubplot-3422999e5a4fc6b08637d00cae11f523c747f036.tar.gz
refactor: use "diagram" instead of "graph"
Change everywhere to use the word "diagram" instead of "graph. Diagram seems like the better word. It's mostly used in comments and documentation, but there was one filename and one trait name that needed changing. I used "rg -iw graph" and "find -iname '*graph*'" to find everywhere that needed changing. Sponsored-by: author
Diffstat (limited to 'src/visitor/typesetting.rs')
-rw-r--r--src/visitor/typesetting.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/visitor/typesetting.rs b/src/visitor/typesetting.rs
index 6f82c24..8d73f3e 100644
--- a/src/visitor/typesetting.rs
+++ b/src/visitor/typesetting.rs
@@ -30,8 +30,8 @@ impl<'a> TypesettingVisitor<'a> {
// Visit interesting parts of the Pandoc abstract syntax tree. The
// document top level is a vector of blocks and we visit that and
// replace any fenced code block with the scenario tag with a typeset
-// paragraph. Also, replace fenced code blocks with known graph markup
-// with the rendered SVG image.
+// paragraph. Also, replace fenced code blocks with known diagram
+// markup with the rendered SVG image.
impl<'a> MutVisitor for TypesettingVisitor<'a> {
fn visit_vec_block(&mut self, vec_block: &mut Vec<Block>) {
use panhelper::is_class;