summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRui <xiongmao86dev@sina.com>2023-05-21 12:55:17 +0800
committerGitHub <noreply@github.com>2023-05-21 06:55:17 +0200
commit991777e3a8138a441acf8a6a4367dfe6dcddc2c1 (patch)
tree8ce84942dc6a2ab909084a3a11745f7b9564211c /src
parentf692a5efc62bf95f57d123895b7dce55d2eb9741 (diff)
Correct outdated comment (#1265)
Diffstat (limited to 'src')
-rw-r--r--src/syntax/ast.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/syntax/ast.rs b/src/syntax/ast.rs
index 6e55d106..7d5e2989 100644
--- a/src/syntax/ast.rs
+++ b/src/syntax/ast.rs
@@ -178,7 +178,7 @@ pub enum Expr {
While(WhileLoop),
/// A for loop: `for x in y { z }`.
For(ForLoop),
- /// A module import: `import a, b, c from "utils.typ"`.
+ /// A module import: `import "utils.typ": a, b, c`.
Import(ModuleImport),
/// A module include: `include "chapter1.typ"`.
Include(ModuleInclude),