aboutsummaryrefslogtreecommitdiff
path: root/src/imap/capability.rs
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@deuxfleurs.fr>2024-02-22 17:30:40 +0100
committerQuentin Dufour <quentin@deuxfleurs.fr>2024-02-22 17:30:40 +0100
commit2adf73dd8e6e76997d4fb67f9f7b3fe065530722 (patch)
treeeb8e82dda00db9a99c4f509d572f4dbd2ae1d541 /src/imap/capability.rs
parent3f204b102abb408a9f0b2adc45065585ddc16a88 (diff)
downloadaerogramme-2adf73dd8e6e76997d4fb67f9f7b3fe065530722.tar.gz
aerogramme-2adf73dd8e6e76997d4fb67f9f7b3fe065530722.zip
Update imap-flow, clean IDLE
Diffstat (limited to 'src/imap/capability.rs')
-rw-r--r--src/imap/capability.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/imap/capability.rs b/src/imap/capability.rs
index 256d820..c76b51c 100644
--- a/src/imap/capability.rs
+++ b/src/imap/capability.rs
@@ -1,5 +1,5 @@
use imap_codec::imap_types::command::{FetchModifier, SelectExamineModifier, StoreModifier};
-use imap_codec::imap_types::core::NonEmptyVec;
+use imap_codec::imap_types::core::Vec1;
use imap_codec::imap_types::extensions::enable::{CapabilityEnable, Utf8Kind};
use imap_codec::imap_types::response::Capability;
use std::collections::HashSet;
@@ -49,7 +49,7 @@ impl Default for ServerCapability {
}
impl ServerCapability {
- pub fn to_vec(&self) -> NonEmptyVec<Capability<'static>> {
+ pub fn to_vec(&self) -> Vec1<Capability<'static>> {
self.0
.iter()
.map(|v| v.clone())