Commit 17e0f96
committed
Simplify limit() logic
At least for the functional mindset. A short one-liner should be more
readable than an if-else.
Signed-off-by: Stephen Celis <stephen@stephencelis.com>1 parent 6d9fb5c commit 17e0f96
1 file changed
+1
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
273 | 273 | | |
274 | 274 | | |
275 | 275 | | |
276 | | - | |
277 | | - | |
278 | | - | |
279 | | - | |
280 | | - | |
| 276 | + | |
281 | 277 | | |
282 | 278 | | |
283 | 279 | | |
| |||
0 commit comments