Skip to content

Commit 5fbf391

Browse files
committed
Change #[rustc_as_ptr] description for clarity
1 parent 85c9318 commit 5fbf391

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_feature/src/builtin_attrs.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -878,7 +878,7 @@ pub const BUILTIN_ATTRIBUTES: &[BuiltinAttribute] = &[
878878
rustc_attr!(
879879
rustc_as_ptr, Normal, template!(Word), ErrorFollowing,
880880
EncodeCrossCrate::Yes,
881-
"#[rustc_as_ptr] is used to mark functions that implement `as_ptr` or `as_ptr_mut`."
881+
"#[rustc_as_ptr] is used to mark functions returning pointers to their inner allocations."
882882
),
883883
rustc_attr!(
884884
rustc_pass_by_value, Normal, template!(Word), ErrorFollowing,

0 commit comments

Comments
 (0)