Skip to content
This repository was archived by the owner on Feb 17, 2025. It is now read-only.

Commit dfc3daa

Browse files
authored
Fix typos in docs and comments (#252)
1 parent dc05e52 commit dfc3daa

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ if(NOT CMAKE_WORKSPACE_NAME OR NOT ("${CMAKE_WORKSPACE_NAME}" STREQUAL "crypto3"
1919
endif()
2020

2121
option(ZK_PLACEHOLDER_PROFILING "Build with placeholder profiling" FALSE)
22-
option(ZK_PLACEHOLDER_DEBUG "Build with placeholder debug ouput" FALSE)
22+
option(ZK_PLACEHOLDER_DEBUG "Build with placeholder debug output" FALSE)
2323

2424
if(ZK_PLACEHOLDER_PROFILING)
2525
add_definitions(-DZK_PLACEHOLDER_PROFILING_ENABLED)

docs/concepts.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Note that ```generate_circuit``` can modify of the ```Blueprint public assignmen
2626

2727
The process of adding a component is following:
2828

29-
1. (Optional) Get ```component``` start row by calling ```allocate_rows```. If the ```component``` is used as part of other ```component``` logic, it's not neccessary to call the function, because needed rows are allocated by the master ```component```.
29+
1. (Optional) Get ```component``` start row by calling ```allocate_rows```. If the ```component``` is used as part of other ```component``` logic, it's not necessary to call the function, because needed rows are allocated by the master ```component```.
3030
2. (Optional) Allocate public input on the ```Blueprint assignment table``` via ```Blueprint assignment table::allocate_public_input```.
31-
3. Set all the gates and constraints on the ```Blueprint``` by calling ```generate_circuit```. ```Allocated data``` is being modified in proccess of the funciton working.
31+
3. Set all the gates and constraints on the ```Blueprint``` by calling ```generate_circuit```. ```Allocated data``` is being modified in process of the function working.
3232
4. Set all the assignments on the ```Blueprint assignment table``` table by calling ```generate_assignments```.

include/nil/blueprint/manifest.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ namespace nil {
270270

271271
// In order to correctly handle intersection, we need to know the type of the manifest parameter,
272272
// and to use a specific implementation of intersect for each type.
273-
// This funciton returns the type of the manifest parameter.
273+
// This function returns the type of the manifest parameter.
274274
manifest_param::type get_manifest_param_type(std::shared_ptr<manifest_param> a);
275275

276276
class manifest_unsat_param : public manifest_param {
@@ -1225,4 +1225,4 @@ namespace nil {
12251225
} // namespace blueprint
12261226
} // namespace nil
12271227

1228-
#endif // CRYPTO3_BLUEPRINT_COMPONENT_MANIFEST_HPP
1228+
#endif // CRYPTO3_BLUEPRINT_COMPONENT_MANIFEST_HPP

0 commit comments

Comments
 (0)