citer

Crates.iociter
lib.rsciter
version0.1.12
sourcesrc
created_at2024-06-25 15:30:25.763318
updated_at2024-08-17 12:31:42.704416
descriptionciter
homepagehttps://github.com/i18n-site/rust/tree/main/citer
repositoryhttps://github.com/i18n-site/rust.git
max_upload_size
id1283422
size5,118
i18n.site (i18nsite)

documentation

README

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 is an open-source component of i18n.site ⋅ Internationalization Solution.

关于

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

Commit count: 22

cargo fmt