mirror of
				https://github.com/kata-containers/kata-containers.git
				synced 2025-10-31 01:13:02 +00:00 
			
		
		
		
	agent: set edition = "2018" in .rustfmt.toml to fix rustfmt about async fn
Got: find . -type f -name "*.rs" | egrep -v "target/|grpc-rs/|protocols/" | xargs rustfmt --check error[E0670]: `async fn` is not permitted in the 2015 edition This commit fixes this issue. Signed-off-by: Tim Zhang <tim@hyper.sh>
This commit is contained in:
		
							
								
								
									
										1
									
								
								src/agent/.rustfmt.toml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								src/agent/.rustfmt.toml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1 @@ | ||||
| edition = "2018" | ||||
		Reference in New Issue
	
	Block a user