[][src]Function sentry_contrib_native::remove_context

pub fn remove_context<S: Into<String>>(key: S)

Removes the context object with the specified key.

Panics

Panics if key contains any null bytes.

Examples

set_context("test context", "context x");
remove_context("test context");