Apply suggestions from code review

Co-Authored-By: Michael Droettboom <mdboom@gmail.com>
This commit is contained in:
Jan-Erik Rediger 2019-05-20 10:13:17 +02:00 коммит произвёл GitHub
Родитель 458a775acc
Коммит 1f23ebc05b
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -1,6 +1,6 @@
# Adding a new metric type
Data in Glean is stored in so called metrics.
Data in Glean is stored in so-called metrics.
You can find the full list of implemented metric types [in the user overview](/user/metrics/index.md).
Adding a new metric type involves defining the metric type's API, its persisted and in-memory storage as well as its serialization into the ping payload.
@ -165,7 +165,7 @@ pub extern "C" fn glean_counter_add(glean_handle: u64, metric_id: u64, amount: i
### Platform-part (Kotlin)
The platform-specific FFI wrapper needs the definitons of these new functions.
The platform-specific FFI wrapper needs the definitions of these new functions.
For Kotlin this is in `glean-core/android/src/main/java/mozilla/telemetry/glean/rust/LibGleanFFI.kt`:
```kotlin