diff options
| author | Fuwn <[email protected]> | 2021-06-06 21:00:22 +0000 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2021-06-06 21:00:22 +0000 |
| commit | 63df0a38c946f577066604e303f40e3b17073674 (patch) | |
| tree | 604d7f5e68788c9c2b9937eb39d230d7085450db /crates/whirl_server/src/cmd | |
| parent | refactor(whirl_server): move orphan types out of orphan module (diff) | |
| download | whirl-63df0a38c946f577066604e303f40e3b17073674.tar.xz whirl-63df0a38c946f577066604e303f40e3b17073674.zip | |
docs(whirl_server): document more public functions
Diffstat (limited to 'crates/whirl_server/src/cmd')
| -rw-r--r-- | crates/whirl_server/src/cmd/structure.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crates/whirl_server/src/cmd/structure.rs b/crates/whirl_server/src/cmd/structure.rs index b615599..078871a 100644 --- a/crates/whirl_server/src/cmd/structure.rs +++ b/crates/whirl_server/src/cmd/structure.rs @@ -8,6 +8,7 @@ pub struct Command { pub body: Vec<u8>, } impl Command { + /// Create and return a new `Command` with default values (`0`s and empty). pub fn _new() -> Self { Self::default() } pub fn _from_byte(mut data: Vec<u8>) -> Vec<Self> { |