From da0a75ad161084127274f41d0c04f9e43ee2624e Mon Sep 17 00:00:00 2001 From: Revar Desmera Date: Sun, 30 Apr 2023 20:16:43 -0700 Subject: [PATCH] Fixes for utility.scad docs. --- utility.scad | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/utility.scad b/utility.scad index 07be785..d1b7082 100644 --- a/utility.scad +++ b/utility.scad @@ -444,7 +444,7 @@ function num_true(l, func) = // 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 // See Also: first_defined(), one_defined(), num_defined() // Usage: @@ -807,7 +807,7 @@ module no_children(count) { // Module: req_children() -// Assert that the calling module requires children. +// Synopsis: Assert that the calling module requires children. // Topics: Error Checking // See Also: no_function(), no_module() // 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 // the expected and received values are printed to the console and // an assertion is thrown to stop execution. -// // Returns false if both 'got' and 'expected' are 'nan'. // Arguments: // got = The value actually received. @@ -926,7 +925,6 @@ module assert_approx(got, expected, info) { // Description: // 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. -// // Returns true if both 'got' and 'expected' are 'nan'. // Arguments: // got = The value actually received.