Skip to content

Commit 98c4bcb

Browse files
committed
Wrap rustdoc from PR 438 to 80 columns
1 parent 00661aa commit 98c4bcb

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/wrapper.rs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -940,11 +940,12 @@ impl Debug for Literal {
940940
/// This function is useful for programs that process more than 2^32 bytes of
941941
/// text on a single thread. The internal representation of `proc_macro2::Span`
942942
/// uses 32-bit integers to represent offsets and those will overflow when
943-
/// processing more than 2^32 bytes. This function resets all offsets
944-
/// and thereby also invalidates any previously created `proc_macro2::Span`.
943+
/// processing more than 2^32 bytes. This function resets all offsets and
944+
/// thereby also invalidates any previously created `proc_macro2::Span`.
945945
///
946946
/// This function requires the `span-locations` feature to be enabled. This
947-
/// function is not applicable to and will panic if called from a procedural macro.
947+
/// function is not applicable to and will panic if called from a procedural
948+
/// macro.
948949
#[cfg(span_locations)]
949950
pub fn invalidate_current_thread_spans() {
950951
if inside_proc_macro() {

0 commit comments

Comments
 (0)