Fix typos

This commit is contained in:
Vojtech Vitek (V-Teq) 2014-10-21 18:57:20 +02:00
parent b74854895e
commit 755d4d441a
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)
}