Skip to content

Commit 2b891ca

Browse files
chore: add comments to mention anymap is a port from another repo
1 parent 6212182 commit 2b891ca

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

crates/stdx/src/anymap.rs

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,14 @@
1-
//! Copyright © 2014–2022 Chris Morgan
2-
//! https://github.com/chris-morgan/anymap/blob/master/COPYING
3-
//! Copyright © 2014–2022 Chris Morgan
4-
//! https://github.com/chris-morgan/anymap/blob/master/COPYING
1+
//! This file is a port of only the necessary features from https://github.com/chris-morgan/anymap version 1.0.0-beta.2 for use within rust-analyzer.
2+
//! Copyright © 2014–2022 Chris Morgan. COPYING: https://github.com/chris-morgan/anymap/blob/master/COPYING"
3+
//! Note that the license is changed from Blue Oak Model 1.0.0 or MIT or Apache-2.0 to MIT OR Apache-2.0
54
//!
6-
//! This crate provides a safe and convenient store for one value of each type.
5+
//! This implementation provides a safe and convenient store for one value of each type.
76
//!
87
//! Your starting point is [`Map`]. It has an example.
98
//!
109
//! # Cargo features
1110
//!
12-
//! This crate has two independent features, each of which provides an implementation providing
11+
//! This implementation has two independent features, each of which provides an implementation providing
1312
//! types `Map`, `AnyMap`, `OccupiedEntry`, `VacantEntry`, `Entry` and `RawMap`:
1413
//!
1514
//! - **std** (default, *enabled* in this build):

0 commit comments

Comments
 (0)