Fixes for utility.scad docs.

This commit is contained in:
Revar Desmera 2023-04-30 20:16:43 -07:00
parent fdbecb5f9b
commit da0a75ad16

View file

@ -444,7 +444,7 @@ function num_true(l, func) =
// Function: default() // Function: default()
// Synopsis Returns a default value if the argument is 'undef', else returns the argument. // Synopsis: Returns a default value if the argument is 'undef', else returns the argument.
// Topics: Undef Handling // Topics: Undef Handling
// See Also: first_defined(), one_defined(), num_defined() // See Also: first_defined(), one_defined(), num_defined()
// Usage: // Usage:
@ -807,7 +807,7 @@ module no_children(count) {
// Module: req_children() // Module: req_children()
// Assert that the calling module requires children. // Synopsis: Assert that the calling module requires children.
// Topics: Error Checking // Topics: Error Checking
// See Also: no_function(), no_module() // See Also: no_function(), no_module()
// Usage: // Usage:
@ -892,7 +892,6 @@ function _valstr(x) =
// Tests if the value gotten is what was expected, plus or minus 1e-9. If not, then // Tests if the value gotten is what was expected, plus or minus 1e-9. If not, then
// the expected and received values are printed to the console and // the expected and received values are printed to the console and
// an assertion is thrown to stop execution. // an assertion is thrown to stop execution.
//
// Returns false if both 'got' and 'expected' are 'nan'. // Returns false if both 'got' and 'expected' are 'nan'.
// Arguments: // Arguments:
// got = The value actually received. // got = The value actually received.
@ -926,7 +925,6 @@ module assert_approx(got, expected, info) {
// Description: // Description:
// Tests if the value gotten is what was expected. If not, then the expected and received values // Tests if the value gotten is what was expected. If not, then the expected and received values
// are printed to the console and an assertion is thrown to stop execution. // are printed to the console and an assertion is thrown to stop execution.
//
// Returns true if both 'got' and 'expected' are 'nan'. // Returns true if both 'got' and 'expected' are 'nan'.
// Arguments: // Arguments:
// got = The value actually received. // got = The value actually received.