Skip to content

unsafe-ness not visible in library reference doc #3804

Closed
@dckc

Description

@dckc

local_data.rs line 55 declares this function unsafe:

pub unsafe fn local_data_get<T: Owned>(

but the docs for task_local_data doesn't show the unsafe keyword:

fn local_data_get<T: Owned>(key: LocalDataKey<T>) -> Option<@T>

Is this a rustdoc limitation?

Metadata

Metadata

Assignees

Labels

T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions