Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 4f489bb

Browse files
committed
Use specific rustdoc instead of linking README
1 parent 3e7d768 commit 4f489bb

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

src/lib.rs

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,15 @@
1-
#![doc = include_str!("../README.md")]
1+
//! The tiny_sort crate provides two sort implementations [`stable::sort`] and [`unstable::sort`].
2+
//! The crate is `no_std` and both versions can be disabled via features, by setting
3+
//! `default-features = false`. [`stable::sort`] requires `alloc`, [`unstable::sort`] doesn't. In
4+
//! addition to the default sort interface that requires that `T` implements [`Ord`],
5+
//! [`stable::sort_by`] [`unstable::sort_by`] can be used to sort with a custom comparison function.
6+
//!
7+
//! Use these sort implementations if you care about binary-size more than you care about
8+
//! performance. Otherwise use `slice::sort` and `slice::sort_unstable`.
9+
//!
10+
//! See the [README](https://github.com/Voultapher/tiny-sort-rs) for information about binary-size
11+
//! and run-time.
12+
213
#![no_std]
314

415
#[cfg(feature = "stable")]

0 commit comments

Comments
 (0)