Skip to content

Commit

Permalink
Two documentation updates (#30049)
Browse files Browse the repository at this point in the history
* `require` takes to arguments
* `jl_new_uniontype` does not exist anymore

(cherry picked from commit ef496b0)
  • Loading branch information
fingolfin authored and KristofferC committed Feb 11, 2019
1 parent a4b1201 commit 9aea9d3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion base/loading.jl
Original file line number Diff line number Diff line change
Expand Up @@ -795,7 +795,7 @@ const full_warning_showed = Ref(false)
const modules_warned_for = Set{PkgId}()

"""
require(module::Symbol)
require(into::Module, module::Symbol)
This function is part of the implementation of `using` / `import`, if a module is not
already defined in `Main`. It can also be called directly to force reloading a module,
Expand Down
1 change: 0 additions & 1 deletion doc/src/devdocs/object.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,6 @@ Types:
```c
jl_datatype_t *jl_apply_type(jl_datatype_t *tc, jl_tuple_t *params);
jl_datatype_t *jl_apply_array_type(jl_datatype_t *type, size_t dim);
jl_uniontype_t *jl_new_uniontype(jl_tuple_t *types);
```

While these are the most commonly used options, there are more low-level constructors too, which
Expand Down

0 comments on commit 9aea9d3

Please sign in to comment.