Update hammer.rs

Added missing fn error.