Compare commits

..

No commits in common. "eebe3d217961dc60375b49a9b1767f6116c1a55a" and "b9369570ae5a60c739763ca80ea95c68336d76e5" have entirely different histories.

2 changed files with 2 additions and 75 deletions

View File

@ -25,7 +25,7 @@ func (this *Monitor[T]) Set (value T) {
// Borrow borrows the value from the Monitor, and returns a function that must // Borrow borrows the value from the Monitor, and returns a function that must
// immediately be deferred, like this: // immediately be deferred, like this:
// //
// value, done := monitor.Borrow() // value, done := Monitor.Borrow()
// defer done() // defer done()
// //
// From the time Borrow is called to the time the done function is called, it is // From the time Borrow is called to the time the done function is called, it is