improve doc
This commit is contained in:
parent
3b2f3909f4
commit
537cfd1554
1 changed files with 6 additions and 2 deletions
|
@ -19,11 +19,15 @@ type SourceCode = String;
|
||||||
/// * `current_location` - Path to the file we're importing into
|
/// * `current_location` - Path to the file we're importing into
|
||||||
/// * `import_location` - Path to the file we're importing from
|
/// * `import_location` - Path to the file we're importing from
|
||||||
///
|
///
|
||||||
|
/// # Returns
|
||||||
|
/// * The content of the file we're importing from
|
||||||
|
/// * The path to the file we're importing from
|
||||||
|
///
|
||||||
/// # Remarks
|
/// # Remarks
|
||||||
///
|
///
|
||||||
/// * `current_location* must point to a file
|
/// * `current_location* must point to a file
|
||||||
/// * `import_location` is relative to the directory in which `current_location` is, unless it's an absolute
|
/// * `import_location` and the returned path are both relative to the directory in which `current_location` is, unless it's an absolute
|
||||||
/// path, in which case it's relative to the root of the ZoKrates stdlib at `$ZOKRATES_HOME`
|
/// path, in which case they are relative to the root of the ZoKrates stdlib at `$ZOKRATES_HOME`
|
||||||
///
|
///
|
||||||
pub fn resolve<'a>(
|
pub fn resolve<'a>(
|
||||||
current_location: CurrentLocation,
|
current_location: CurrentLocation,
|
||||||
|
|
Loading…
Reference in a new issue