mirror of
https://github.com/hannobraun/Fornjot
synced 2025-05-09 04:18:28 +00:00
Update documentation of Core
This commit is contained in:
parent
5beb8e8a54
commit
5a7f10964e
@ -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 }
|
||||
|
Loading…
Reference in New Issue
Block a user