summaryrefslogtreecommitdiff
path: root/crates/typst-library/src/foundations/module.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/typst-library/src/foundations/module.rs')
-rw-r--r--crates/typst-library/src/foundations/module.rs5
1 files changed, 3 insertions, 2 deletions
diff --git a/crates/typst-library/src/foundations/module.rs b/crates/typst-library/src/foundations/module.rs
index d6d5e831..55d8bab6 100644
--- a/crates/typst-library/src/foundations/module.rs
+++ b/crates/typst-library/src/foundations/module.rs
@@ -7,9 +7,10 @@ use typst_syntax::FileId;
use crate::diag::{bail, DeprecationSink, StrResult};
use crate::foundations::{repr, ty, Content, Scope, Value};
-/// A module of definitions.
+/// A collection of variables and functions that are commonly related to
+/// a single theme.
///
-/// A module
+/// A module can
/// - be built-in
/// - stem from a [file import]($scripting/#modules)
/// - stem from a [package import]($scripting/#packages) (and thus indirectly