diff --git a/src/common-concepts/functions.md b/src/common-concepts/functions.md index 6add7a6..3bbcd91 100644 --- a/src/common-concepts/functions.md +++ b/src/common-concepts/functions.md @@ -56,7 +56,7 @@ fn main() { str_out("Hello", "World", "Variadic") } ``` -As seen in the example above, many arguments could be given to the function even though it was a single parameter. This is a result of the variadic parameter. Putting the `...` operator before its name makes parameter variadic. +As seen in the example above, many arguments could be given to the function even though it was a single parameter. This is a result of the variadic parameter. Putting the `...` operator before its type makes parameter variadic. ::: tip - Each variadic parameter, actually is an slice. - Variadic parameters is not must have an argument in calling. @@ -244,4 +244,4 @@ fn get_rate(x: int): int { } } ``` -The function does not have to return in the main scope, as the match expression above returns a return for every condition. \ No newline at end of file +The function does not have to return in the main scope, as the match expression above returns a return for every condition. diff --git a/src/cpp/integrated-jule.md b/src/cpp/integrated-jule.md index 4b6a88e..6007982 100644 --- a/src/cpp/integrated-jule.md +++ b/src/cpp/integrated-jule.md @@ -6,7 +6,7 @@ In order to achieve good compatibility with Jule, it is recommended that C++ cod Integrated Jule is an essential part of C/C++ interoperability. -## Librray +## Library The `std::jule::integrated` standard library is a major supporter of Integrated Jule's interoperability pillar. It provides a standard for widely used C/C++ definitions. This makes it possible to spend less time on C/C++ definitions that link to Jule code. In addition, it can not only make things easier, but also improve and simplify the implementation by providing algorithms for a number of tasks.