Corrected typo in comment in method.rs

Changed: this is an static method
To: this is a static method