We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d044b30 commit 4ffeac1Copy full SHA for 4ffeac1
parley/src/layout/mod.rs
@@ -182,12 +182,7 @@ impl<B: Brush> Layout<B> {
182
/// You must perform line breaking prior to aligning, through [`Layout::break_lines`] or
183
/// [`Layout::break_all_lines`]. If `container_width` is not specified, the layout's
184
/// [`Layout::width`] is used.
185
- pub fn align(
186
- &mut self,
187
- container_width: f32,
188
- alignment: Alignment,
189
- options: AlignmentOptions,
190
- ) {
+ pub fn align(&mut self, container_width: f32, alignment: Alignment, options: AlignmentOptions) {
191
unjustify(&mut self.data);
192
align(&mut self.data, container_width, alignment, options);
193
}
0 commit comments