File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -940,11 +940,12 @@ impl Debug for Literal {
940
940
/// This function is useful for programs that process more than 2^32 bytes of
941
941
/// text on a single thread. The internal representation of `proc_macro2::Span`
942
942
/// 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`.
945
945
///
946
946
/// 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.
948
949
#[ cfg( span_locations) ]
949
950
pub fn invalidate_current_thread_spans ( ) {
950
951
if inside_proc_macro ( ) {
You can’t perform that action at this time.
0 commit comments