mirror of
				https://gitea.invidious.io/iv-org/shard-ameba.git
				synced 2024-08-15 00:53:29 +00:00 
			
		
		
		
	Improve Lint/SharedVarInFiber rule description
This commit is contained in:
		
							parent
							
								
									f27842e111
								
							
						
					
					
						commit
						98bc6bb76a
					
				
					 1 changed files with 3 additions and 3 deletions
				
			
		| 
						 | 
					@ -1,8 +1,8 @@
 | 
				
			||||||
module Ameba::Rule::Lint
 | 
					module Ameba::Rule::Lint
 | 
				
			||||||
  # A rule that disallows using shared variables in fibers.
 | 
					  # A rule that disallows using shared variables in fibers,
 | 
				
			||||||
 | 
					  # which are mutated during iterations.
 | 
				
			||||||
  #
 | 
					  #
 | 
				
			||||||
  # Using a shared variable in the `spawn` block in most cases
 | 
					  # In most cases it leads to unexpected behaviour and is undesired.
 | 
				
			||||||
  # leads to unexpected behaviour and is undesired.
 | 
					 | 
				
			||||||
  #
 | 
					  #
 | 
				
			||||||
  # For example, having this example:
 | 
					  # For example, having this example:
 | 
				
			||||||
  #
 | 
					  #
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue