feat(wpcarro/rust): Define Rc<T> example
My foray into "smart pointer" land. Change-Id: I4ca775c72168dd34d90bf88fa41149867cd7fdae Reviewed-on: https://cl.tvl.fyi/c/depot/+/6244 Tested-by: BuildkiteCI Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com>
This commit is contained in:
		
							parent
							
								
									e23a556873
								
							
						
					
					
						commit
						db9cb70d5d
					
				
					 3 changed files with 15 additions and 2 deletions
				
			
		|  | @ -3,6 +3,7 @@ use serde_json::{json, Value}; | |||
| 
 | ||||
| mod display; | ||||
| mod json; | ||||
| mod rc; | ||||
| mod stdin; | ||||
| 
 | ||||
| ////////////////////////////////////////////////////////////////////////////////
 | ||||
|  | @ -10,5 +11,5 @@ mod stdin; | |||
| ////////////////////////////////////////////////////////////////////////////////
 | ||||
| 
 | ||||
| fn main() { | ||||
|     stdin::example(); | ||||
|     rc::example(); | ||||
| } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue