Skip to content

Commit df04615

Browse files
reformat generic impl with where clause
1 parent 1248b31 commit df04615

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

tests/generics/src/lib.rs

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,11 @@ use soroban_sdk::{contract, contractimpl};
1111
pub struct Contract;
1212

1313
#[contractimpl]
14-
impl<'a, 'b> Contract where 'a: 'b {
15-
pub fn empty() { }
14+
impl<'a, 'b> Contract
15+
where
16+
'a: 'b,
17+
{
18+
pub fn empty() {}
1619
}
1720

1821
#[cfg(test)]

0 commit comments

Comments
 (0)