Skip to content

Commit

Permalink
chore: fix markdown trailing space
Browse files Browse the repository at this point in the history
  • Loading branch information
erickguan committed Sep 15, 2024
1 parent cdbd8a9 commit 4ec4304
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/templates.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ As well as these functions:
- `os_family() -> String` – return the operating system family, e.g. `unix`, `windows`
- `num_cpus() -> usize` – return the number of CPUs on the system
- `error(message) -> String` - Abort execution and report error `message` to user.
- `choice(n, alphabet)` - Generate a string of `n` with random sample with replacement
- `choice(n, alphabet)` - Generate a string of `n` with random sample with replacement
of `alphabet`. For example, `choice('64', HEX)` will generate a random
64-character lowercase hex string.
- `datetime()` - Return local time with ISO 8601 format
- `datetime(format)` - Return local time with `format`. Read the
- `datetime(format)` - Return local time with `format`. Read the
[`chrono` library docs](https://docs.rs/chrono/latest/chrono/format/strftime/index.html)
for the format
- `datetime_utc()` - Return UTC time with ISO 8601 format
Expand Down

0 comments on commit 4ec4304

Please sign in to comment.