You've already forked comprehensive-rust
							
							
				mirror of
				https://github.com/google/comprehensive-rust.git
				synced 2025-10-31 08:37:45 +02:00 
			
		
		
		
	The code block at https://google.github.io/comprehensive-rust/testing/unit-tests.html probably should not be runnable (#498)
This commit is contained in:
		| @@ -2,7 +2,7 @@ | ||||
|  | ||||
| Mark unit tests with `#[test]`: | ||||
|  | ||||
| ```rust,editable | ||||
| ```rust,ignore | ||||
| fn first_word(text: &str) -> &str { | ||||
|     match text.find(' ') { | ||||
|         Some(idx) => &text[..idx], | ||||
|   | ||||
		Reference in New Issue
	
	Block a user