diff options
| author | Fuwn <[email protected]> | 2022-03-26 10:13:42 +0000 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2022-03-26 10:13:42 +0000 |
| commit | c3e3b82713a5a64c3bba433e82bfffc694aaf526 (patch) | |
| tree | 282da787da8570adf0c3096c0f424bf1a710352a /src | |
| parent | docs(readme): add implementation instructions (diff) | |
| download | windmark-c3e3b82713a5a64c3bba433e82bfffc694aaf526.tar.xz windmark-c3e3b82713a5a64c3bba433e82bfffc694aaf526.zip | |
refactor(response): remove unused header struct
Diffstat (limited to 'src')
| -rw-r--r-- | src/response.rs | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/response.rs b/src/response.rs index cad2f1a..8720eb6 100644 --- a/src/response.rs +++ b/src/response.rs @@ -16,16 +16,6 @@ // Copyright (C) 2022-2022 Fuwn <[email protected]> // SPDX-License-Identifier: GPL-3.0-only -pub struct Header { - status: crate::status::Code, - meta: String, -} -impl ToString for Header { - fn to_string(&self) -> String { - format!("{} {}\r\n", self.status as u8, self.meta) - } -} - pub enum Response { Input(String), SensitiveInput(String), |