We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c7928f5 commit 44c1650Copy full SHA for 44c1650
src/libcore/cell.rs
@@ -1113,7 +1113,7 @@ impl<'b> BorrowRef<'b> {
1113
// `Ref`s, which is not good practice)
1114
None
1115
} else {
1116
- // Incrementing borrow can result in a reading value (< 0) in these cases:
+ // Incrementing borrow can result in a reading value (> 0) in these cases:
1117
// 1. It was = 0, i.e. it wasn't borrowed, and we are taking the first read borrow
1118
// 2. It was > 0 and < isize::max_value(), i.e. there were read borrows, and isize
1119
// is large enough to represent having one more read borrow
0 commit comments