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: high_precision_timer.rs
    path of file: ./repos/nebulet/src/arch/x64/devices
    
    the code of the file until where you have to start completion: use arch::x64::interrupt;
use arch::x64::idt;
use arch::macros::interrupt;
use arch::devices::{pic, pit};
use sync::atomic::{Atomic, Ordering};
use x86_64::structures::idt::InterruptDescriptorTab
    
fn custom_idt() -> InterruptDescriptorTable {
    interrupt!(pit, {
        PIT_TICKS.fetch_add(1, Ordering::SeqCst);
        // Saves CPU time by shortcutting
        pic::MASTER.ack();
    });

    let mut idt = idt::default_idt();
    idt[32].set_handler_fn(pit);
    idt
}