mirror of
				https://github.com/rust-lang/rust-analyzer.git
				synced 2025-10-31 12:04:43 +00:00 
			
		
		
		
	fix doc tests
This commit is contained in:
		
							parent
							
								
									bd7375a58f
								
							
						
					
					
						commit
						b19ef6b046
					
				
					 37 changed files with 75 additions and 61 deletions
				
			
		|  | @ -25,7 +25,7 @@ pub fn ancestors_at_offset( | |||
| /// imprecise: if the cursor is strictly between two nodes of the desired type,
 | ||||
| /// as in
 | ||||
| ///
 | ||||
| /// ```no_run
 | ||||
| /// ```ignore
 | ||||
| /// struct Foo {}|struct Bar;
 | ||||
| /// ```
 | ||||
| ///
 | ||||
|  |  | |||
|  | @ -72,9 +72,9 @@ impl IndentLevel { | |||
|     } | ||||
| 
 | ||||
|     /// XXX: this intentionally doesn't change the indent of the very first token.
 | ||||
|     /// Ie, in something like
 | ||||
|     /// For example, in something like:
 | ||||
|     /// ```
 | ||||
|     /// fn foo() {
 | ||||
|     /// fn foo() -> i32 {
 | ||||
|     ///    92
 | ||||
|     /// }
 | ||||
|     /// ```
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 BenjaminBrienen
						BenjaminBrienen