You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: text.rs
    path of file: ./repos/CLEO-iOS/src/game
    
    the code of the file until where you have to start completion: //! Exposes a primitive Rust API for the game's text system, and manages the loading
//! of FXT language files.

use crate::{call_original, targets};
use lazy_static::lazy
    
pub fn set_kv(key: &str, value: &str) -> bool {
    let mut custom_strings = CUSTOM_STRINGS.lock().unwrap();
    let mut utf16: Vec<u16> = value.encode_utf16().collect();

    // The game expects the strings to be null-terminated.
    utf16.push(0);

    custom_strings.insert(key.into(), utf16).is_some()
}