mirror of
https://github.com/typst/typst
synced 2025-05-14 17:15:28 +08:00
Fix typo in docs (#6034)
This commit is contained in:
parent
db9a83d9fc
commit
e66e190a21
@ -112,7 +112,7 @@ use crate::foundations::{
|
|||||||
/// it into another file by writing `{import "foo.typ": alert}`.
|
/// it into another file by writing `{import "foo.typ": alert}`.
|
||||||
///
|
///
|
||||||
/// # Unnamed functions { #unnamed }
|
/// # Unnamed functions { #unnamed }
|
||||||
/// You can also created an unnamed function without creating a binding by
|
/// You can also create an unnamed function without creating a binding by
|
||||||
/// specifying a parameter list followed by `=>` and the function body. If your
|
/// specifying a parameter list followed by `=>` and the function body. If your
|
||||||
/// function has just one parameter, the parentheses around the parameter list
|
/// function has just one parameter, the parentheses around the parameter list
|
||||||
/// are optional. Unnamed functions are mainly useful for show rules, but also
|
/// are optional. Unnamed functions are mainly useful for show rules, but also
|
||||||
|
Loading…
x
Reference in New Issue
Block a user