all: Fix various user-facing and non-user-facing typos (#8509)
Found via `codespell -q 3 -S lang,./gui/default/vendor -L benchs,bu,inflight,ro`
This commit is contained in:
@@ -45,7 +45,7 @@ func (f FolderConfiguration) Copy() FolderConfiguration {
|
||||
|
||||
// Filesystem creates a filesystem for the path and options of this folder.
|
||||
// The fset parameter may be nil, in which case no mtime handling on top of
|
||||
// the fileystem is provided.
|
||||
// the filesystem is provided.
|
||||
func (f FolderConfiguration) Filesystem(fset *db.FileSet) fs.Filesystem {
|
||||
// This is intentionally not a pointer method, because things like
|
||||
// cfg.Folders["default"].Filesystem(nil) should be valid.
|
||||
|
||||
@@ -189,7 +189,7 @@ func (opts OptionsConfiguration) FeatureFlag(name string) bool {
|
||||
|
||||
// LowestConnectionLimit is the lower of ConnectionLimitEnough or
|
||||
// ConnectionLimitMax, or whichever of them is actually set if only one of
|
||||
// them is set. It's the point where we should stop dialling.
|
||||
// them is set. It's the point where we should stop dialing.
|
||||
func (opts OptionsConfiguration) LowestConnectionLimit() int {
|
||||
limit := opts.ConnectionLimitEnough
|
||||
if limit == 0 || (opts.ConnectionLimitMax != 0 && opts.ConnectionLimitMax < limit) {
|
||||
|
||||
Reference in New Issue
Block a user