fix(lib): use new `for<'a>` syntax