Merge pull request #1927 from VojtechVitek/typos

Fix typos
This commit is contained in:
Dawn Chen 2014-10-21 10:23:17 -07:00
commit d7bd6d5177
2 changed files with 2 additions and 2 deletions

View File

@ -244,7 +244,7 @@ func (c *Converter) convert(sv, dv reflect.Value, scope *scope) error {
}
args := []reflect.Value{sv.Addr(), dv.Addr(), reflect.ValueOf(scope)}
ret := fv.Call(args)[0].Interface()
// This convolution is necssary because nil interfaces won't convert
// This convolution is necessary because nil interfaces won't convert
// to errors.
if ret == nil {
return nil

View File

@ -45,7 +45,7 @@ type SelfLinker interface {
SetSelfLink(obj Object, selfLink string) error
SelfLink(obj Object) (string, error)
// Knowing ID is sometimes necssary to use a SelfLinker.
// Knowing ID is sometimes necessary to use a SelfLinker.
ID(obj Object) (string, error)
}