Skip to content

Commit 33d21f2

Browse files
Fix clippy::too_long_first_doc_paragraph lints
1 parent 39445bd commit 33d21f2

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

javascriptcore-sys/src/lib.rs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ pub struct OpaqueJSPropertyNameAccumulator([u8; 0]);
9696
pub type JSPropertyNameAccumulatorRef = *mut OpaqueJSPropertyNameAccumulator;
9797

9898
/// A function used to deallocate bytes passed to a Typed Array constructor.
99+
///
99100
/// The function should take two arguments. The first is a pointer to
100101
/// the bytes that were originally passed to the Typed Array constructor.
101102
/// The second is a pointer to additional information desired at the time
@@ -602,8 +603,9 @@ pub type JSPropertyAttributes = ::std::os::raw::c_uint;
602603
/// Specifies that a class has no special attributes.
603604
pub const kJSClassAttributeNone: ::std::os::raw::c_uint = 0;
604605
/// Specifies that a class should not automatically generate a shared
605-
/// prototype for its instance objects. Use
606-
/// `kJSClassAttributeNoAutomaticPrototype` in combination with
606+
/// prototype for its instance objects.
607+
///
608+
/// Use `kJSClassAttributeNoAutomaticPrototype` in combination with
607609
/// [`JSObjectSetPrototype`] to manage prototypes manually.
608610
pub const kJSClassAttributeNoAutomaticPrototype: ::std::os::raw::c_uint = 2;
609611

0 commit comments

Comments
 (0)