loosen InlineableFactory
for PointFactory
This commit is contained in:
parent
4b2cbecd5b
commit
2678ef956b
@ -83,7 +83,7 @@ impl<F> ParseMode for PointFactory<F> {
|
||||
type Mode = InliningMode;
|
||||
}
|
||||
|
||||
impl<'a, Ctx: Context<'a>, F: Factory<'a, Ctx>> InlineableFactory<'a, Ctx> for PointFactory<F> {
|
||||
impl<'a, Ctx: Context<'a>, F: FactoryBase<'a, Ctx>> InlineableFactory<'a, Ctx> for PointFactory<F> {
|
||||
fn extension_error(&self, tail: &[u8]) -> Self::ParseError {
|
||||
PointParseError::WrongLength(HASH_SIZE + tail.len())
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user