From e79c75df81e6c7ae10669448a16adae4672aa282 Mon Sep 17 00:00:00 2001 From: Eugene Wissner Date: Thu, 29 Jun 2017 11:06:40 +0200 Subject: [PATCH] Fix typo in README, add CONTRIBUTING.md link --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 7c19d2d..d7480fe 100644 --- a/README.md +++ b/README.md @@ -17,6 +17,7 @@ data structures and utilities that depend on the Garbage Collector in Phobos. * [Bug tracker](https://issues.caraus.io/projects/tanya/issues) * [Documentation](https://docs.caraus.io/tanya) +* [Contribution guidelines](CONTRIBUTING.md) ## Overview @@ -71,10 +72,10 @@ a proper deallocation in some cases for you. ### Exceptions Since exceptions are normal classes in D, they are allocated and dellocated the -same as described above. But there are two differences how they are used: +same as described above, but: -1. The caller is *always* responsible for destroying a caught exception. -2. Exceptions are *always* allocated and should be always allocated with the +1. The caller is **always** responsible for destroying a caught exception. +2. Exceptions are **always** allocated and should be always allocated with the `defaultAllocator`. ```d @@ -122,8 +123,7 @@ foreach (el; arr[0 .. 5]) int i = arr[7]; // Access 7th element. ``` -There more containers in the `tanya.container` package. - +There are more containers in the `tanya.container` package. ## Development