Update documentation of Core

This commit is contained in:
Hanno Braun 2024-08-06 19:22:32 +02:00
parent 5beb8e8a54
commit 5a7f10964e

View File

@ -13,14 +13,14 @@ pub struct Core {
}
impl Core {
/// Construct an instance of `Instance`
/// Construct an instance of `Core`
pub fn new() -> Self {
Self {
layers: Layers::default(),
}
}
/// Construct an instance of `Instance`, using the provided configuration
/// Construct an instance of `Core`, using the provided configuration
pub fn with_validation_config(config: ValidationConfig) -> Self {
let layers = Layers::with_validation_config(config);
Self { layers }