Documentation

citer

use aok::{Result, OK};
use citer::CIter;
use static_init::constructor;

#[constructor(0)]
extern "C" fn init() {
  loginit::init()
}

// #[tokio::test]
// async fn test() -> Result<()> {
//   info!("{}", 123456);
//   OK
// }

#[test]
fn test() -> Result<()> {
  let vec = &[1, 2, 3, 4][..];
  let iter = CIter::new(vec, 1);

  for value in iter {
    println!("{}", value);
  }
  OK
}

About This Project

This project is an open-source component of i18n.site ⋅ Internationalization Solution.

关于本项目

本项目为 i18n.site ⋅ 国际化解决方案 的开源组件。