diff --git a/dlib/algs.h b/dlib/algs.h index 71a641814..2ebc7effe 100644 --- a/dlib/algs.h +++ b/dlib/algs.h @@ -648,7 +648,7 @@ namespace dlib /*!A wrap_function This is a template that allows you to turn a global function into a - function object. The reason for this templates existance is so you can + function object. The reason for this template's existance is so you can do stuff like this: template diff --git a/dlib/member_function_pointer/member_function_pointer_kernel_abstract.h b/dlib/member_function_pointer/member_function_pointer_kernel_abstract.h index b47d1c1c8..318e250bc 100644 --- a/dlib/member_function_pointer/member_function_pointer_kernel_abstract.h +++ b/dlib/member_function_pointer/member_function_pointer_kernel_abstract.h @@ -120,7 +120,7 @@ namespace dlib ) const; /*! ensures - - if (this->set() has been called and succeeded) then + - if (this->set() has been called) then - returns true - else - returns false