Unnamed repository; edit this file 'description' to name the repository.
chore: add comments to mention anymap is a port from another repo
shogo-nakano-desu 2023-09-20
parent 6212182 · commit 2b891ca
-rw-r--r--crates/stdx/src/anymap.rs11
1 files changed, 5 insertions, 6 deletions
diff --git a/crates/stdx/src/anymap.rs b/crates/stdx/src/anymap.rs
index 0165235009..fd44e6c6d0 100644
--- a/crates/stdx/src/anymap.rs
+++ b/crates/stdx/src/anymap.rs
@@ -1,15 +1,14 @@
-//! Copyright © 2014–2022 Chris Morgan
-//! https://github.com/chris-morgan/anymap/blob/master/COPYING
-//! Copyright © 2014–2022 Chris Morgan
-//! https://github.com/chris-morgan/anymap/blob/master/COPYING
+//! 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.
+//! Copyright © 2014–2022 Chris Morgan. COPYING: https://github.com/chris-morgan/anymap/blob/master/COPYING"
+//! 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
//!
-//! This crate provides a safe and convenient store for one value of each type.
+//! This implementation provides a safe and convenient store for one value of each type.
//!
//! Your starting point is [`Map`]. It has an example.
//!
//! # Cargo features
//!
-//! This crate has two independent features, each of which provides an implementation providing
+//! This implementation has two independent features, each of which provides an implementation providing
//! types `Map`, `AnyMap`, `OccupiedEntry`, `VacantEntry`, `Entry` and `RawMap`:
//!
//! - **std** (default, *enabled* in this build):