Further clarify CacheBuilder example

parent 635f2bc9
Pipeline #1174 passed with stages
in 34 minutes and 3 seconds
......@@ -223,7 +223,8 @@ pub struct Cache<'font> {
/// ```
/// use rusttype::gpu_cache::Cache;
///
/// // Create a cache with all default values
/// // Create a cache with all default values set explicitly
/// // equivalent to `Cache::builder().build()`
/// let default_cache = Cache::builder()
/// .dimensions(256, 256)
/// .scale_tolerance(0.1)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment