Skip to content

Commit 3e15627

Browse files
committed
Documented swimos_time.
1 parent 212aea7 commit 3e15627

File tree

4 files changed

+11
-7
lines changed

4 files changed

+11
-7
lines changed

swimos_utilities/swimos_multi_reader/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@
1313
// limitations under the License.
1414

1515
//! # Stream Aggregator
16-
//!
16+
//!
1717
//! Provides an aggregator that combines a collection of [futures::Stream]s of the same type
1818
//! into a single [futures::Stream].
19-
//!
19+
//!
2020
//! Additional streams can be added after initial construction.
2121
2222
mod reader;

swimos_utilities/swimos_route/src/lib.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,15 @@
1313
// limitations under the License.
1414

1515
//! # SwimOS routes
16-
//!
16+
//!
1717
//! A route is a URI with no authority that specified the location of a single SwimOS agent instance.
1818
//! It does not specify the host on which the agent can be found and this information must be retrieved
1919
//! from a routing table or provided separately.
20-
//!
20+
//!
2121
//! This crate contains:
22-
//!
22+
//!
2323
//! - A type to represent a [route URI](`RouteUri``).
24-
//! - [Route patterns](`RoutePattern`) that can be used to extract components from the path of a
24+
//! - [Route patterns](`RoutePattern`) that can be used to extract components from the path of a
2525
//! route URI.
2626
2727
mod route_pattern;

swimos_utilities/swimos_sync/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
// limitations under the License.
1414

1515
//! # Synchronization Channels
16-
//!
16+
//!
1717
//! This crate contains asynchronous channels to communicate between tasks or threads.
1818
1919
mod circular_buffer;

swimos_utilities/swimos_time/src/lib.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15+
//! # Time Utility
16+
//!
17+
//! Utility types and functions for working with timestamps and durations.
18+
1519
mod instant;
1620

1721
pub use instant::AtomicInstant;

0 commit comments

Comments
 (0)