diff options
author | Genny <gen@nyble.dev> | 2021-10-11 03:36:38 -0500 |
---|---|---|
committer | Genny <gen@nyble.dev> | 2021-10-11 03:36:38 -0500 |
commit | 757eab88d67a425728b87286c763387f52367196 (patch) | |
tree | f1d61edb0a838787f6984accdd92df68a69d567a /src/block/extension/application.rs | |
parent | 9b7bd5696a21496fa0c38a17e69c5c0658acfe73 (diff) | |
download | gifed-757eab88d67a425728b87286c763387f52367196.tar.gz gifed-757eab88d67a425728b87286c763387f52367196.zip |
Run rustfmt
Diffstat (limited to 'src/block/extension/application.rs')
-rw-r--r-- | src/block/extension/application.rs | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/block/extension/application.rs b/src/block/extension/application.rs index b3516d8..9ec1814 100644 --- a/src/block/extension/application.rs +++ b/src/block/extension/application.rs @@ -1,15 +1,15 @@ pub struct Application { - pub(crate) identifier: String, // max len 8 - pub(crate) authentication_code: [u8; 3], - pub(crate) data: Vec<u8>, + pub(crate) identifier: String, // max len 8 + pub(crate) authentication_code: [u8; 3], + pub(crate) data: Vec<u8>, } impl Application { - pub fn identifier(&self) -> &str { - &self.identifier - } + pub fn identifier(&self) -> &str { + &self.identifier + } - pub fn authentication_code(&self) -> &[u8] { - &self.authentication_code - } + pub fn authentication_code(&self) -> &[u8] { + &self.authentication_code + } } |