librustc: Separate most trait bounds with '+'. rs=plussing

This commit is contained in:
Patrick Walton
2013-02-20 17:07:17 -08:00
parent a307608781
commit bf2a225c0b
204 changed files with 729 additions and 726 deletions

View File

@@ -28,7 +28,7 @@ pub pure fn ignore<T>(_x: T) { }
/// Sets `*ptr` to `new_value`, invokes `op()`, and then restores the
/// original value of `*ptr`.
#[inline(always)]
pub fn with<T: Copy, R>(
pub fn with<T:Copy,R>(
ptr: &mut T,
new_value: T,
op: &fn() -> R) -> R