fix(all): various typos (#10242)

This commit is contained in:
Ross Smith II
2025-08-12 20:05:10 +02:00
committed by GitHub
parent fcf4916086
commit bbf48ae334
23 changed files with 28 additions and 28 deletions
+1 -1
View File
@@ -333,7 +333,7 @@ func (cfg *Configuration) prepareDeviceList() map[protocol.DeviceID]*DeviceConfi
// - free from duplicates
// - no devices with empty ID
// - sorted by ID
// Happen before preparting folders as that needs a correct device list.
// Happen before preparing folders as that needs a correct device list.
cfg.Devices = ensureNoDuplicateOrEmptyIDDevices(cfg.Devices)
slices.SortFunc(cfg.Devices, func(a, b DeviceConfiguration) int {
return a.DeviceID.Compare(b.DeviceID)
+1 -1
View File
@@ -235,7 +235,7 @@ func (opts OptionsConfiguration) MaxFolderConcurrency() int {
return 0
}
// Otherwise default to the number of CPU cores in the system as a rough
// approximation of system powerfullness.
// approximation of system powerfulness.
if n := runtime.GOMAXPROCS(-1); n > 0 {
return n
}