mirror of
				https://github.com/rust-lang/rust-analyzer.git
				synced 2025-10-31 03:54:42 +00:00 
			
		
		
		
	minor: Add whitespace constructor to SyntaxFactory
				
					
				
			This commit is contained in:
		
							parent
							
								
									c70bf568bb
								
							
						
					
					
						commit
						d7d68310c0
					
				
					 1 changed files with 4 additions and 0 deletions
				
			
		|  | @ -403,4 +403,8 @@ impl SyntaxFactory { | |||
|     pub fn token(&self, kind: SyntaxKind) -> SyntaxToken { | ||||
|         make::token(kind) | ||||
|     } | ||||
| 
 | ||||
|     pub fn whitespace(&self, text: &str) -> ast::SyntaxToken { | ||||
|         make::tokens::whitespace(text) | ||||
|     } | ||||
| } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Giga Bowser
						Giga Bowser