Skip to content

Commit

Permalink
Update code style based on cargo clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
ndelvalle committed Aug 11, 2024
1 parent 006ee2d commit c20353e
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,24 +9,24 @@
//! # Architecture
//!
//! * `server`: Redis server module. Provides a run function that initiates the server, enabling it
//! to begin handling incoming connections from Redis clients. It manages client requests, executes
//! Redis commands, and handles connection lifecycles.
//! to begin handling incoming connections from Redis clients. It manages client requests, executes
//! Redis commands, and handles connection lifecycles.
//!
//! * `connection`: The Connection module manages a TCP connection for a Redis client. It separates
//! the TCP stream into readable and writable components to facilitate data consumption and
//! transmission. The server uses this connection module to read data from the TCP connection.
//! the TCP stream into readable and writable components to facilitate data consumption and
//! transmission. The server uses this connection module to read data from the TCP connection.
//!
//! * `codec`: This module is responsible for decoding raw TCP byte streams into `Frame` data
//! structures. This is an essential component for translating incoming client requests into
//! meaningful Redis commands.
//! structures. This is an essential component for translating incoming client requests into
//! meaningful Redis commands.
//!
//! * `frame`: This module defines the `Frame` enum, representing different types of Redis protocol
//! messages, and provides parsing and serialization functionalities. It adheres to the RESP (Redis
//! Serialization Protocol) specifications.
//! messages, and provides parsing and serialization functionalities. It adheres to the RESP (Redis
//! Serialization Protocol) specifications.
//!
//! * `store`: This module provides a simple key-value store for managing Redis string data types.
//! It supports basic operations such as setting, getting, removing, and incrementing values
//! associated with keys.
//! It supports basic operations such as setting, getting, removing, and incrementing values
//! associated with keys.
//!
//! ```text
//!
Expand Down

0 comments on commit c20353e

Please sign in to comment.