Results 2 issues of Siddharth Agrawal

I've changed the `format` function's signature to ```rust pub fn format Vec>(mut random: F, alphabet: &[char], size: usize) -> String ``` Note: This is backward compatible with the original code...

## Problem Currently, `nanoid::format` only accepts function pointers for custom random generators. This makes it difficult to use seeded RNGs for deterministic ID generation, as closures that capture state cannot...