diff --git a/src/commands/mounts_and_neighbors/listmounts.rs b/src/commands/mounts_and_neighbors/listmounts.rs index 3f39d24..c971add 100644 --- a/src/commands/mounts_and_neighbors/listmounts.rs +++ b/src/commands/mounts_and_neighbors/listmounts.rs @@ -1,35 +1,8 @@ use crate::{ - commands::{ - Command, RequestParserResult, ResponseAttributes, ResponseParserError, - }, + commands::{Command, RequestParserResult, ResponseAttributes, ResponseParserError}, Request, }; -// pub struct Unmount; - -// impl Command for Unmount { -// type Response = (); -// const COMMAND: &'static str = "unmount"; - -// fn parse_request(mut parts: std::str::SplitWhitespace<'_>) -> RequestParserResult<'_> { -// let path = parts -// .next() -// .ok_or(RequestParserError::UnexpectedEOF)? -// .to_string(); - -// debug_assert!(parts.next().is_none()); - -// Ok((Request::Unmount(path), "")) -// } - -// fn parse_response( -// parts: ResponseAttributes<'_>, -// ) -> Result { -// debug_assert!(parts.is_empty()); -// Ok(()) -// } -// } - pub struct ListMounts; impl Command for ListMounts { diff --git a/src/commands/mounts_and_neighbors/listneighbors.rs b/src/commands/mounts_and_neighbors/listneighbors.rs index e8a5ddf..89a5156 100644 --- a/src/commands/mounts_and_neighbors/listneighbors.rs +++ b/src/commands/mounts_and_neighbors/listneighbors.rs @@ -1,7 +1,5 @@ use crate::{ - commands::{ - Command, RequestParserResult, ResponseAttributes, ResponseParserError, - }, + commands::{Command, RequestParserResult, ResponseAttributes, ResponseParserError}, Request, };