[core] Fix an incorrect assertion in the Score doc test
Negate with - instead of with !.
This commit is contained in:
		
							parent
							
								
									f658903b54
								
							
						
					
					
						commit
						6e8c0d3466
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -23,7 +23,7 @@ impl Score {
 | 
				
			||||||
    ///
 | 
					    ///
 | 
				
			||||||
    /// ```
 | 
					    /// ```
 | 
				
			||||||
    /// use chessfriend_core::score::Score;
 | 
					    /// use chessfriend_core::score::Score;
 | 
				
			||||||
    /// assert_eq!(!Score::MIN, Score::MAX);
 | 
					    /// assert_eq!(-Score::MIN, Score::MAX);
 | 
				
			||||||
    /// ```
 | 
					    /// ```
 | 
				
			||||||
    ///
 | 
					    ///
 | 
				
			||||||
    pub const MIN: Score = Score(Value::MIN + 1);
 | 
					    pub const MIN: Score = Score(Value::MIN + 1);
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue