move rustdoc comments so that they attach to the functions rather than the impl blocks.