mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Rustfmt some of script.
This commit is contained in:
parent
ceb72e54e4
commit
0c61be7a57
50 changed files with 1499 additions and 885 deletions
|
@ -24,7 +24,8 @@ impl<T: Float> Finite<T> {
|
|||
/// Create a new `Finite<T: Float>`.
|
||||
#[inline]
|
||||
pub fn wrap(value: T) -> Finite<T> {
|
||||
assert!(value.is_finite(), "Finite<T> doesn't encapsulate unrestricted value.");
|
||||
assert!(value.is_finite(),
|
||||
"Finite<T> doesn't encapsulate unrestricted value.");
|
||||
Finite(value)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue