It is building again.
This commit is contained in:
		
							parent
							
								
									83881e55b5
								
							
						
					
					
						commit
						13ee93f31c
					
				| @ -26,6 +26,6 @@ impl<T> List<T> { | ||||
|     } | ||||
| 
 | ||||
|     pub fn get_data(&self) -> Option<&T> { | ||||
|         self.head.map(|rc_node| &rc_node.as_ref().data) | ||||
|         self.head.as_ref().map(|rc_node| &rc_node.data) | ||||
|     } | ||||
| } | ||||
|  | ||||
| @ -15,7 +15,7 @@ impl<'r> ContextTree<'r> { | ||||
|         ContextTree { tree: List::new() } | ||||
|     } | ||||
| 
 | ||||
|     pub fn with_additional_node<'x>(&self, data: ContextElement<'x>) -> ContextTree<'x> { | ||||
|     pub fn with_additional_node(&self, data: ContextElement<'r>) -> ContextTree<'r> { | ||||
|         let new_list = self.tree.push_front(data); | ||||
|         ContextTree { tree: new_list } | ||||
|     } | ||||
|  | ||||
| @ -1,6 +1,6 @@ | ||||
| macro_rules! parser_with_context { | ||||
|     ($target:ident) => { | ||||
|         move |context| |i| $target(&context, i) | ||||
|         move |context| move |i| $target(&context, i) | ||||
|     }; | ||||
| } | ||||
| pub(crate) use parser_with_context; | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Tom Alexander
						Tom Alexander