Replace a deprecated method call.
[anymap] / src /
drwxr-xr-x   ..
-rw-r--r-- 5851 lib.rs