diff options
author | Quentin Dufour <quentin@deuxfleurs.fr> | 2024-01-18 18:03:21 +0100 |
---|---|---|
committer | Quentin Dufour <quentin@deuxfleurs.fr> | 2024-01-18 18:03:21 +0100 |
commit | 2c5adc8f166c6117ece353376b9071f5e30857b1 (patch) | |
tree | 1590c1277342734ee6f06b1a388c0fc63ecd8acf /tests/common | |
parent | 43b668531f060a2c0f950da96b363b2ea7cf4e06 (diff) | |
download | aerogramme-2c5adc8f166c6117ece353376b9071f5e30857b1.tar.gz aerogramme-2c5adc8f166c6117ece353376b9071f5e30857b1.zip |
reformat code
Diffstat (limited to 'tests/common')
-rw-r--r-- | tests/common/fragments.rs | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/tests/common/fragments.rs b/tests/common/fragments.rs index f9ad87e..29d5d10 100644 --- a/tests/common/fragments.rs +++ b/tests/common/fragments.rs @@ -286,7 +286,12 @@ pub fn noop_exists(imap: &mut TcpStream, must_exists: u32) -> Result<()> { } } -pub fn fetch(imap: &mut TcpStream, selection: Selection, kind: FetchKind, modifier: FetchMod) -> Result<String> { +pub fn fetch( + imap: &mut TcpStream, + selection: Selection, + kind: FetchKind, + modifier: FetchMod, +) -> Result<String> { let mut buffer: [u8; 65535] = [0; 65535]; let sel_str = match selection { @@ -363,11 +368,11 @@ pub fn search(imap: &mut TcpStream, sk: SearchKind) -> Result<String> { } pub fn store( - imap: &mut TcpStream, - sel: Selection, + imap: &mut TcpStream, + sel: Selection, flag: Flag, action: StoreAction, - modifier: StoreMod + modifier: StoreMod, ) -> Result<String> { let mut buffer: [u8; 6000] = [0; 6000]; |