Format code.
This commit is contained in:
parent
7cf25f7d38
commit
77dbb75d9c
|
@ -94,7 +94,6 @@ pub const CPUWidget = struct {
|
||||||
// Work out CPU Percentage.
|
// Work out CPU Percentage.
|
||||||
const percentage = ((total_difference - idle_difference) / total_difference) * 100;
|
const percentage = ((total_difference - idle_difference) / total_difference) * 100;
|
||||||
|
|
||||||
|
|
||||||
var buffer: [256]u8 = undefined;
|
var buffer: [256]u8 = undefined;
|
||||||
var fba = std.heap.FixedBufferAllocator.init(&buffer);
|
var fba = std.heap.FixedBufferAllocator.init(&buffer);
|
||||||
var allocator = &fba.allocator;
|
var allocator = &fba.allocator;
|
||||||
|
|
Loading…
Reference in a new issue