File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -8,16 +8,16 @@ import {VmSafe} from "./Vm.sol";
88// ```
99// using stdToml for string;
1010// string memory toml = vm.readFile("<some_path>");
11- // toml.readUint("<json_path >");
11+ // toml.readUint("<toml_path >");
1212// ```
1313// To write:
1414// ```
1515// using stdToml for string;
16- // string memory json = "json ";
17- // json .serialize("a", uint256(123));
18- // string memory semiFinal = json .serialize("b", string("test"));
19- // string memory finalJson = json .serialize("c", semiFinal);
20- // finalJson .write("<some_path>");
16+ // string memory toml = "toml ";
17+ // toml .serialize("a", uint256(123));
18+ // string memory semiFinal = toml .serialize("b", string("test"));
19+ // string memory finalToml = toml .serialize("c", semiFinal);
20+ // finalToml .write("<some_path>");
2121// ```
2222
2323library stdToml {
You can’t perform that action at this time.
0 commit comments