You've already forked comprehensive-rust
							
							
				mirror of
				https://github.com/google/comprehensive-rust.git
				synced 2025-10-31 08:37:45 +02:00 
			
		
		
		
	fix: typo in mark_visited fn docstring (#1355)
Fixes a typo in the `mark_visited` function docstring. See [`HashSet.insert` documentation](https://doc.rust-lang.org/stable/std/collections/struct.HashSet.html#method.insert)
This commit is contained in:
		| @@ -93,7 +93,7 @@ impl CrawlState { | ||||
|         url_domain == self.domain | ||||
|     } | ||||
|  | ||||
|     /// Mark the given page as visited, returning true if it had already | ||||
|     /// Mark the given page as visited, returning false if it had already | ||||
|     /// been visited. | ||||
|     fn mark_visited(&mut self, url: &Url) -> bool { | ||||
|         self.visited_pages.insert(url.as_str().to_string()) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user