diff options
author | Quentin Dufour <quentin@deuxfleurs.fr> | 2024-01-03 15:00:05 +0100 |
---|---|---|
committer | Quentin Dufour <quentin@deuxfleurs.fr> | 2024-01-03 15:00:05 +0100 |
commit | ef257e286a5377031bfde9645629825d3223b3d4 (patch) | |
tree | 78853c708949b709061e5b1f24f16343ceaee895 /src/imap/command/anystate.rs | |
parent | 6d37924399dd5d04f5be2506e3e044dd165f6399 (diff) | |
download | aerogramme-ef257e286a5377031bfde9645629825d3223b3d4.tar.gz aerogramme-ef257e286a5377031bfde9645629825d3223b3d4.zip |
implement move
Diffstat (limited to 'src/imap/command/anystate.rs')
-rw-r--r-- | src/imap/command/anystate.rs | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/imap/command/anystate.rs b/src/imap/command/anystate.rs index 7d7c0b2..718ba3f 100644 --- a/src/imap/command/anystate.rs +++ b/src/imap/command/anystate.rs @@ -2,11 +2,14 @@ use anyhow::Result; use imap_codec::imap_types::core::Tag; use imap_codec::imap_types::response::Data; -use crate::imap::flow; use crate::imap::capability::ServerCapability; +use crate::imap::flow; use crate::imap::response::Response; -pub(crate) fn capability(tag: Tag<'static>, cap: &ServerCapability) -> Result<(Response<'static>, flow::Transition)> { +pub(crate) fn capability( + tag: Tag<'static>, + cap: &ServerCapability, +) -> Result<(Response<'static>, flow::Transition)> { let res = Response::build() .tag(tag) .message("Server capabilities") |