From: Kefu Chai <tcha...@gmail.com
Committer: Pavel Emelyanov <xe...@scylladb.com
core/sharded.hh: tweak on comment for better readability
just some minor tweaks, easier to digest this way.
Signed-off-by: Kefu Chai <tcha...@gmail.com
diff --git a/include/seastar/core/sharded.hh b/include/seastar/core/sharded.hh
@@ -103,8 +103,8 @@ using sharded_unwrap_t = typename sharded_unwrap<T>::type;
template <typename T>
-/// If sharded service inherits from this class sharded::stop() will wait
-/// until all references to a service on each shard will disappear before
+/// If a sharded service inherits from this class, sharded::stop() will wait
+/// until all references to this service on each shard are released before
/// returning. It is still service's own responsibility to track its references
/// in asynchronous code by calling shared_from_this() and keeping returned smart
/// pointer as long as object is in use.