doc: explain use of memory management annotation on strings