mirror of
https://jturnerusa.dev/cgit/gentoo-utils/
synced 2025-12-02 19:18:35 -06:00
allow "0" as a build-id
This commit is contained in:
@@ -57,6 +57,7 @@ impl<'a> Parseable<'a, &'a str> for BuildId {
|
|||||||
start
|
start
|
||||||
.and(rest)
|
.and(rest)
|
||||||
.recognize()
|
.recognize()
|
||||||
|
.or(tag("0"))
|
||||||
.map(|output: &str| BuildId(output.to_string()))
|
.map(|output: &str| BuildId(output.to_string()))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user