mirror of
				https://github.com/serde-rs/json.git
				synced 2025-11-04 07:23:07 +00:00 
			
		
		
		
	Update Number::from_i128 documentation regarding bounds
This commit is contained in:
		
							parent
							
								
									b4df0f8251
								
							
						
					
					
						commit
						fb12a9db76
					
				@ -292,8 +292,9 @@ impl Number {
 | 
				
			|||||||
        }
 | 
					        }
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    /// Converts an `i128` to a `Number`. Greater than u64::MAX values are not JSON
 | 
					    /// Converts an `i128` to a `Number`. Numbers smaller than i64::MIN or
 | 
				
			||||||
    /// numbers.
 | 
					    /// larger than u64::MAX can only be represented in `Number` if serde_json's
 | 
				
			||||||
 | 
					    /// "arbitrary_precision" feature is enabled.
 | 
				
			||||||
    ///
 | 
					    ///
 | 
				
			||||||
    /// ```
 | 
					    /// ```
 | 
				
			||||||
    /// # use serde_json::Number;
 | 
					    /// # use serde_json::Number;
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user