Skip to content

Commit

Permalink
style(wgpu-info): strip trailing newlines
Browse files Browse the repository at this point in the history
  • Loading branch information
ErichDonGubler authored and grovesNL committed Nov 7, 2022
1 parent 17b748a commit 2245227
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions wgpu-info/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ mod inner {
let downlevel = adapter.get_downlevel_capabilities();
let features = adapter.features();
let limits = adapter.limits();

println!("Adapter {}:", idx);
println!("\t Backend: {:?}", info.backend);
println!("\t Name: {:?}", info.name);
Expand All @@ -151,7 +151,7 @@ mod inner {
}
}
}

println!("\tLimits:");
let wgpu::Limits {
max_texture_dimension_1d,
Expand Down Expand Up @@ -213,7 +213,7 @@ mod inner {
println!("\t\t Max Compute Workgroup Size Y: {}", max_compute_workgroup_size_y);
println!("\t\t Max Compute Workgroup Size Z: {}", max_compute_workgroup_size_z);
println!("\t\t Max Compute Workgroups Per Dimension: {}", max_compute_workgroups_per_dimension);

println!("\tDownlevel Properties:");
let wgpu::DownlevelCapabilities {
shader_model,
Expand Down

0 comments on commit 2245227

Please sign in to comment.