@@ -46,7 +46,7 @@ pub struct ScsiRequestBuilder<'a> {
4646impl ScsiRequestBuilder < ' _ > {
4747 /// Creates a new instance with the specified data direction and alignment.
4848 ///
49- /// # Parameters
49+ /// # Arguments
5050 /// - `direction`: Specifies the direction of data transfer (READ, WRITE, or BIDIRECTIONAL).
5151 /// - `io_align`: Specifies the required alignment for data buffers. (SCSI Controller specific!)
5252 #[ must_use]
@@ -84,7 +84,7 @@ impl ScsiRequestBuilder<'_> {
8484 /// - READ
8585 /// - MODE_SENSE
8686 ///
87- /// # Parameters
87+ /// # Arguments
8888 /// - `io_align`: Specifies the required alignment for data buffers.
8989 #[ must_use]
9090 pub fn read ( io_align : u32 ) -> Self {
@@ -97,7 +97,7 @@ impl ScsiRequestBuilder<'_> {
9797 /// - WRITE
9898 /// - MODE_SELECT
9999 ///
100- /// # Parameters
100+ /// # Arguments
101101 /// - `io_align`: Specifies the required alignment for data buffers.
102102 #[ must_use]
103103 pub fn write ( io_align : u32 ) -> Self {
@@ -109,7 +109,7 @@ impl ScsiRequestBuilder<'_> {
109109 /// Some examples of SCSI bidirectional commands are:
110110 /// - SEND DIAGNOSTIC
111111 ///
112- /// # Parameters
112+ /// # Arguments
113113 /// - `io_align`: Specifies the required alignment for data buffers.
114114 #[ must_use]
115115 pub fn bidirectional ( io_align : u32 ) -> Self {
@@ -120,7 +120,7 @@ impl ScsiRequestBuilder<'_> {
120120impl < ' a > ScsiRequestBuilder < ' a > {
121121 /// Sets a timeout for the SCSI request.
122122 ///
123- /// # Parameters
123+ /// # Arguments
124124 /// - `timeout`: A [`Duration`] representing the maximum time allowed for the request.
125125 /// The value is converted to 100-nanosecond units.
126126 ///
@@ -139,7 +139,7 @@ impl<'a> ScsiRequestBuilder<'a> {
139139
140140 /// Uses a user-supplied buffer for reading data from the device.
141141 ///
142- /// # Parameters
142+ /// # Arguments
143143 /// - `bfr`: A mutable reference to an [`AlignedBuffer`] that will be used to store data read from the device.
144144 ///
145145 /// # Returns
@@ -159,7 +159,7 @@ impl<'a> ScsiRequestBuilder<'a> {
159159
160160 /// Adds a newly allocated read buffer to the built SCSI request.
161161 ///
162- /// # Parameters
162+ /// # Arguments
163163 /// - `len`: The size of the buffer (in bytes) to allocate for receiving data.
164164 ///
165165 /// # Returns
@@ -177,7 +177,7 @@ impl<'a> ScsiRequestBuilder<'a> {
177177
178178 /// Adds a newly allocated sense buffer to the built SCSI request.
179179 ///
180- /// # Parameters
180+ /// # Arguments
181181 /// - `len`: The size of the buffer (in bytes) to allocate for receiving sense data.
182182 ///
183183 /// # Returns
@@ -195,7 +195,7 @@ impl<'a> ScsiRequestBuilder<'a> {
195195
196196 /// Uses a user-supplied buffer for writing data to the device.
197197 ///
198- /// # Parameters
198+ /// # Arguments
199199 /// - `bfr`: A mutable reference to an [`AlignedBuffer`] containing the data to be written to the device.
200200 ///
201201 /// # Returns
@@ -216,7 +216,7 @@ impl<'a> ScsiRequestBuilder<'a> {
216216 /// Adds a newly allocated write buffer to the built SCSI request that is filled from the
217217 /// given data buffer. (Done for memory alignment and lifetime purposes)
218218 ///
219- /// # Parameters
219+ /// # Arguments
220220 /// - `data`: A slice of bytes representing the data to be written.
221221 ///
222222 /// # Returns
@@ -235,7 +235,7 @@ impl<'a> ScsiRequestBuilder<'a> {
235235
236236 /// Uses a user-supplied Command Data Block (CDB) buffer.
237237 ///
238- /// # Parameters
238+ /// # Arguments
239239 /// - `data`: A mutable reference to an [`AlignedBuffer`] containing the CDB to be sent to the device.
240240 ///
241241 /// # Returns
@@ -259,7 +259,7 @@ impl<'a> ScsiRequestBuilder<'a> {
259259 /// Adds a newly allocated Command Data Block (CDB) buffer to the built SCSI request that is filled from the
260260 /// given data buffer. (Done for memory alignment and lifetime purposes)
261261 ///
262- /// # Parameters
262+ /// # Arguments
263263 /// - `data`: A slice of bytes representing the command to be sent.
264264 ///
265265 /// # Returns
0 commit comments