[doc] Scope consistency with previous example