#![allow(dead_code)]
use crate::Profiler;
pub struct Section<'a> {
pub(crate) profiler: &'a Profiler,
pub(crate) label: String,
}
impl<'a> Section<'a> {
pub fn new(profiler: &'a Profiler, label: &'a str) -> Section<'a> {
let label = label.to_string();
Section { profiler, label }
}
}
impl Drop for Section<'_> {
fn drop(&mut self) {
}
}