Run cargo fmt
This commit is contained in:
parent
15f794b7a8
commit
33a24b5821
2 changed files with 3 additions and 10 deletions
|
|
@ -73,9 +73,8 @@ impl Path {
|
|||
|
||||
pub(super) fn dashed(path: &Path, line_dash: LineDash<'_>) -> Path {
|
||||
Path::new(|builder| {
|
||||
let segments_odd = (line_dash.segments.len() % 2 == 1).then(|| {
|
||||
[line_dash.segments, line_dash.segments].concat()
|
||||
});
|
||||
let segments_odd = (line_dash.segments.len() % 2 == 1)
|
||||
.then(|| [line_dash.segments, line_dash.segments].concat());
|
||||
|
||||
let mut draw_line = false;
|
||||
|
||||
|
|
|
|||
|
|
@ -113,13 +113,7 @@ impl Atlas {
|
|||
match &entry {
|
||||
Entry::Contiguous(allocation) => {
|
||||
self.upload_allocation(
|
||||
&buffer,
|
||||
width,
|
||||
height,
|
||||
padding,
|
||||
0,
|
||||
allocation,
|
||||
encoder,
|
||||
&buffer, width, height, padding, 0, allocation, encoder,
|
||||
);
|
||||
}
|
||||
Entry::Fragmented { fragments, .. } => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue