Skip to content

Commit cd9cebc

Browse files
committed
docs/src/modules/examples: simplify
1 parent 628bc04 commit cd9cebc

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

docs/src/modules/examples.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,10 @@
55
delib.module {
66
name = "constants";
77
8-
options = {
9-
constants = with delib; {
10-
username = readOnly (strOption "sjohn");
11-
userfullname = readOnly (strOption "John Smith");
12-
useremail = readOnly (strOption "johnsmith@example.com");
13-
};
8+
options.constants = with delib; {
9+
username = readOnly (strOption "sjohn");
10+
userfullname = readOnly (strOption "John Smith");
11+
useremail = readOnly (strOption "johnsmith@example.com");
1412
};
1513
}
1614
```

0 commit comments

Comments
 (0)