summaryrefslogtreecommitdiff
path: root/src/eval/value.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/eval/value.rs')
-rw-r--r--src/eval/value.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/eval/value.rs b/src/eval/value.rs
index a27e9aa9..f15ae0c5 100644
--- a/src/eval/value.rs
+++ b/src/eval/value.rs
@@ -36,7 +36,7 @@ pub enum Value {
Color(Color),
/// A string: `"string"`.
Str(String),
- /// A dictionary value: `(false, 12cm, greeting="hi")`.
+ /// A dictionary value: `(false, 12cm, greeting: "hi")`.
Dict(ValueDict),
/// A content value: `{*Hi* there}`.
Content(SynTree),
@@ -125,7 +125,7 @@ impl Debug for Value {
///
/// # Example
/// ```typst
-/// (false, 12cm, greeting="hi")
+/// (false, 12cm, greeting: "hi")
/// ```
pub type ValueDict = Dict<SpannedEntry<Value>>;