mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-22 08:47:28 +01:00
Delete an obsolete comment
This commit is contained in:
1 parent
ad277871f5
commit
af1ea0b425
1 file changed
+3
-6
@@ -142,12 +142,9 @@ func parseInt(s string) (x *big.Int, remaining string, err error) {
|
|||||||
// parseInterval parses a string like "[-3, +4] etcetera", returning the
|
// parseInterval parses a string like "[-3, +4] etcetera", returning the
|
||||||
// interval itself and the remaining string " etcetera".
|
// interval itself and the remaining string " etcetera".
|
||||||
//
|
//
|
||||||
// It also parses infinite (unbounded) intervals like "[0, +∞)". The brackets
|
// It also parses infinite (unbounded) intervals like "[0, +∞)", and the
|
||||||
// here are square brackets (to ease the parsing algorithm) even though, in
|
// special syntax "[...empty..]" for an empty interval (one that contains no
|
||||||
// mathematical interval notation, parentheses would be more traditional.
|
// elements).
|
||||||
//
|
|
||||||
// It also parses the special syntax "[...empty..]" for an empty interval (one
|
|
||||||
// that contains no elements).
|
|
||||||
func parseInterval(s string) (x Int, remaining string, err error) {
|
func parseInterval(s string) (x Int, remaining string, err error) {
|
||||||
const emptySyntax = "[...empty..]"
|
const emptySyntax = "[...empty..]"
|
||||||
s = trimLeadingSpaces(s)
|
s = trimLeadingSpaces(s)
|
||||||
|
|||||||
Reference in new issue
Block a user