Remove deprecated `unstable` attribute. …
Fixes a build warning in rustc nightly. Move the warning to a doc comment instead.