Chore: Fix some spelling errors (#3976)

This commit is contained in:
zonescape 2024-11-06 17:27:06 +03:00 committed by yuhan6665
parent afc7ec5506
commit 71cfea8aae
10 changed files with 13 additions and 13 deletions

View file

@ -87,7 +87,7 @@ func (r *resolution) resolve(allFeatures []features.Feature) (bool, error) {
return true, err
}
// Instance combines all functionalities in Xray.
// Instance combines all Xray features.
type Instance struct {
access sync.Mutex
features []features.Feature
@ -228,7 +228,7 @@ func initInstanceWithConfig(config *Config, server *Instance) (bool, error) {
)
if server.featureResolutions != nil {
return true, errors.New("not all dependency are resolved.")
return true, errors.New("not all dependencies are resolved.")
}
if err := addInboundHandlers(server, config.Inbound); err != nil {