@@ -213,8 +213,8 @@ impl Shape {
213213 }
214214 }
215215
216- pub ( crate ) fn block_left ( & self , width : usize ) -> Option < Shape > {
217- self . block_indent ( width ) . sub_width ( width )
216+ pub ( crate ) fn block_left ( & self , n : usize ) -> Option < Shape > {
217+ self . block_indent ( n ) . sub_width ( n )
218218 }
219219
220220 pub ( crate ) fn add_offset ( & self , extra_width : usize ) -> Shape {
@@ -231,27 +231,27 @@ impl Shape {
231231 }
232232 }
233233
234- pub ( crate ) fn saturating_sub_width ( & self , width : usize ) -> Shape {
235- self . sub_width ( width ) . unwrap_or ( Shape { width : 0 , ..* self } )
234+ pub ( crate ) fn saturating_sub_width ( & self , n : usize ) -> Shape {
235+ self . sub_width ( n ) . unwrap_or ( Shape { width : 0 , ..* self } )
236236 }
237237
238- pub ( crate ) fn sub_width ( & self , width : usize ) -> Option < Shape > {
238+ pub ( crate ) fn sub_width ( & self , n : usize ) -> Option < Shape > {
239239 Some ( Shape {
240- width : self . width . checked_sub ( width ) ?,
240+ width : self . width . checked_sub ( n ) ?,
241241 ..* self
242242 } )
243243 }
244244
245- pub ( crate ) fn shrink_left ( & self , width : usize ) -> Option < Shape > {
245+ pub ( crate ) fn shrink_left ( & self , n : usize ) -> Option < Shape > {
246246 Some ( Shape {
247- width : self . width . checked_sub ( width ) ?,
248- indent : self . indent + width ,
249- offset : self . offset + width ,
247+ width : self . width . checked_sub ( n ) ?,
248+ indent : self . indent + n ,
249+ offset : self . offset + n ,
250250 } )
251251 }
252252
253- pub ( crate ) fn offset_left ( & self , width : usize ) -> Option < Shape > {
254- self . add_offset ( width ) . sub_width ( width )
253+ pub ( crate ) fn offset_left ( & self , n : usize ) -> Option < Shape > {
254+ self . add_offset ( n ) . sub_width ( n )
255255 }
256256
257257 pub ( crate ) fn used_width ( & self ) -> usize {
0 commit comments