Skip to content

Commit

Permalink
Add missing double quote in docs. (#125)
Browse files Browse the repository at this point in the history
  • Loading branch information
OptimisticPeach authored Mar 4, 2021
1 parent fe3576c commit e5f0c7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ndk/src/native_activity.rs
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ impl NativeActivity {
/// The `android.app.NativeActivity` instance
///
/// In the JNI, this is named `clazz`; however, as the docs say, "it should really be named
/// 'activity' instead of 'clazz', since it's a reference to the NativeActivity instance.
/// 'activity' instead of 'clazz', since it's a reference to the NativeActivity instance".
pub fn activity(&self) -> jni_sys::jobject {
unsafe { self.ptr.as_ref().clazz as jni_sys::jobject }
}
Expand Down

0 comments on commit e5f0c7e

Please sign in to comment.