Merge pull request #2901 from rtfeldman/vec-map

VecMap
This commit is contained in:
Folkert de Vries 2022-04-21 09:16:38 +02:00 committed by GitHub
commit 2cc8e95198
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
22 changed files with 569 additions and 437 deletions

View file

@ -108,7 +108,7 @@ pub struct EntryPoint<'a> {
#[derive(Clone, Copy, Debug)]
pub struct PartialProcId(usize);
#[derive(Clone, Debug, PartialEq)]
#[derive(Clone, Debug)]
pub struct PartialProcs<'a> {
/// maps a function name (symbol) to an index
symbols: Vec<'a, Symbol>,
@ -190,7 +190,7 @@ impl<'a> PartialProcs<'a> {
}
}
#[derive(Clone, Debug, PartialEq)]
#[derive(Clone, Debug)]
pub struct PartialProc<'a> {
pub annotation: Variable,
pub pattern_symbols: &'a [Symbol],